$ABCD$ is a rectangle with area $S$ and $AC\cap BD=O$. The circumscribed circle of $\triangle ABO$ intersects for second time the line $AD$ at $M$, such that $\tan\measuredangle ABM=1$. Find the diagonal and the perimeter of the rectangle $ABCD$.
I think that we can say $\measuredangle ABM$ is an acute angle because it's one of the angles in the right-angled triangle $ABM$. Is this so? This means $\measuredangle ABM=45^\circ$ or $AB=AM$. So the length of the segment $DM$ is actually the sum of the sides of the rectangle $ABCD$.
It is worth noting that the centre of the circumscribed circle of $\triangle ABO$ lies on $BM$ because $ABM$ is also inscribed in that same circle and $\measuredangle BAM=90^\circ$. How does the given area $S$ come to play? Thank you!
