You can put this solution on YOUR website! Is x a positive number? If it is, then the longest side (hyptenuse) is either 60 units or x+12 units.
Use the Pythagorean Theorem both ways and solve each of them for x.
Hypotenuse 60:
Discriminant,
-
Shortest leg is 36, next leg is 48, and the 60 is hypotenuse.
You could try this again assuming x+12 is the hypotenuse, set up the Pythagorean Theorem
relationship, and see what happens, or if the solution works right.