Question 32$ABCD$ is a cyclic quadrilateral and $M$ a point on the side $CD$ such that $ADM$ and $ABCM$ have the same area and the same perimeter. Show that two sides of $ABCD$ have the same length.