document.write( "Question 366930: In a right triangle one leg is 9 cm less than the hypotenuse. The other leg is 2 cm less than the hypotenuse. How do I find the length of each side? \n" ); document.write( "
Algebra.Com's Answer #261656 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Since it's a right triangle, it obeys the Pythagorean theorem,
\n" ); document.write( "\"a%5E2%2Bb%5E2=h%5E2\"
\n" ); document.write( "\"%28h-9%29%5E2%2B%28h-2%29%5E2=h%5E2\"
\n" ); document.write( "\"h%5E2-18h%2B81%2Bh%5E2-4h%2B4=h%5E2\"
\n" ); document.write( "\"h%5E2-22h%2B85=0\"
\n" ); document.write( "\"%28h-7%29%28h-15%29=0\"
\n" ); document.write( "Two solutions:
\n" ); document.write( "\"h=7\"
\n" ); document.write( "Then \"a=7-9\"
\n" ); document.write( "This is not a possible solution since it leads to a negative length.
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"h-15=0\"
\n" ); document.write( "\"highlight%28h=15%29\"cm
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"a=15-9\"
\n" ); document.write( "\"highlight%28a=6%29\"cm
\n" ); document.write( ".
\n" ); document.write( ".
\n" ); document.write( "\"b=15-2\"
\n" ); document.write( "\"highlight%28b=13%29\"cm
\n" ); document.write( "
\n" );