I recommend you sketch the given points on graph paper and locate the two horizontal/vertical leg solutions.
You should also note that this question has an infinite number of solutions if you make the given points the endpoints of a circle's diameter ... the vertex opposite the hypotenuse would lie anywhere on the circle.