Exercise 3.9.4

A rectangle is inscribed in a right triangle so that two of its vertices lie on the hypotenuse. Show that among all such rectangles, the one whose other two vertices bisect the legs of the triangle has the largest area. Drag point C to change the triangle. Drag points D and E to change the size of the rectangle.