Geometry and  Measurement K12A square is inscribed in a right triangle.

Find the greatest possible ratio of the area of the square to the area of the triangle.