Maximize Area of Rectangle In Semicircle

A rectangle is inscribed in a semicircle. Drag point X to change the rectangle's dimensions.