# The hypotenuse of a right triangle is 39 inches, and the length of one leg is 6 inches longer than twice the other leg. How do you find the length of each leg?

##### 1 Answer

The legs are of length

#### Explanation:

**Method 1 - Familiar triangles**

The first few right angled triangles with an odd length side are:

#3, 4, 5#

#5, 12, 13#

#7, 24, 25#

Notice that

#15, 36, 39#

i.e.

Twice

**Method 2 - Pythagoras formula and a little algebra**

If the smaller leg is of length

#39 = sqrt(x^2 + (2x+6)^2)#

#color(white)(39) = sqrt(5x^2+24x+36)#

Square both ends to get:

#1521 = 5x^2+24x+36#

Subtract

#0 = 5x^2+24x-1485#

Multiply both sides by

#0 = 25x^2+120x-7425#

#color(white)(0) = (5x+12)^2-144-7425#

#color(white)(0) = (5x+12)^2-7569#

#color(white)(0) = (5x+12)^2-87^2#

#color(white)(0) = ((5x+12)-87)((5x+12)+87)#

#color(white)(0) = (5x-75)(5x+99)#

#color(white)(0) = 5(x-15)(5x+99)#

Hence

Discard the negative solution since we are seeking the length of the side of a triangle.

Hence the smallest leg is of length