document.write( "Question 313638: Please help me with my problem. One leg of a right triangle is 6 cm shorter than the other leg. The length of the hypotenuse is 30 cm. Find the length of the longer leg. Please show work. \n" ); document.write( "
Algebra.Com's Answer #224239 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
One leg of a right triangle is 6 cm shorter than the other leg. The length of the hypotenuse is 30 cm. Find the length of the longer leg.
\n" ); document.write( "----
\n" ); document.write( "longer leg: x
\n" ); document.write( "shorter leg: x-6
\n" ); document.write( "------------------------
\n" ); document.write( "Equation:
\n" ); document.write( "x^2 + (x-6)^2 = 30^2
\n" ); document.write( "----
\n" ); document.write( "x^2 + x^2 - 12x + 36 = 900
\n" ); document.write( "2x^2-12x-864 = 0
\n" ); document.write( "---
\n" ); document.write( "x^2 - 6x - 432 = 0
\n" ); document.write( "---
\n" ); document.write( "x = [6 +- sqrt(36-4*-432)]/2
\n" ); document.write( "---
\n" ); document.write( "x = [6 +- sqrt(1764)]/2
\n" ); document.write( "---
\n" ); document.write( "x = [6 +- 42]/2
\n" ); document.write( "---
\n" ); document.write( "x = 24; x = -18
\n" ); document.write( "====================
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "====================
\n" ); document.write( "
\n" );