Maximize Area of Rectangle Inscribed in Triangle

Given a rectangle inscribed in a triangle. Drag point X to try to maximize the area of the rectangle.