Hey guys

A window frame has the shape of a rectangle surmounted by a semi-circle. The perimeter of the frame is constant. Show that, for max. area, the height of the rectangle is equal to the radius of the semi-circle.

Could someone please show me how to do this question?

Thanx!