# Math Help - Pythagorean theorem?

1. ## Pythagorean theorem?

The longer leg of a right triangle measures 5 inches less than the hypotenuse. The shorter leg measures 25 inches. Find the length of the long leg.
How would I set this up?

2. If the hypotenuse is h and the longer leg is 5 less than h (i.e. the hypotenuse), what is the length of the longer leg in terms of h?

Then, plug this into the pythagorean theorem: $a^{2} + b^{2} = c^{2}$ where c is the hypotenuse and a and b are the two legs.