Say the short leg is x and the hypotenuse is y. Then, y = 3x (because "The length of the hypotenuse of a right triangle is three times the length of the shorter leg.")
Use the Pythagorean Theorem: a^2 + b^2 = c^2 (where a and b are the legs and c is the hypotenuse). Here, we can say a = x and b = 12 and c = y. So:
We can use 9x83=747 as a extra help to get the answer. Say you need the answer above (which I gave you) so you get 9x83 as an example to help figure out 749+9+83=839.