Right triangle with median as a geometric mean

Author:
Terry Tam
Construct a right triangle with given hypotenuse c such that the median drawn to the hypotenuse is the geometric mean of the two legs of the triangle. [First International Olympiad, 1959] (Hint: observe the relationship between c and the median)