A square is inscribed in a right triangle, as shown below. Find the area of the square.
I don't know how to add an image but the right triangle as a base of 1 and a height of 3.