Hi Laynie C.,
Let x = the length of the other leg
Let x + 42 = the length of the longer leg
And for right triangles we can use the Pythagorean Theorem a2 + b2 = c2 to find x. With a or b either one if the legs and c is the hypotenuse:
x2 + (x + 42)2 = 782, can you solve it from here?
You will end up with +30 inches and -72 inches, use the positive value.
Remember, your solution will be x, which equals the length of the other leg. You will still need to find the length of the longer leg, x + 42, for the solution to the lengths of both legs.
Let me know, Joe.