document.write( "Question 339135: one leg of a right triangle is 6cm shorter that the other leg, The length of the hypotenuse is 30cm. Find the length of the longer leg? \n" ); document.write( "
Algebra.Com's Answer #243480 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
Use the Pythagorean theorem,
\n" ); document.write( "\"A%5E2%2BB%5E2=H%5E2\"
\n" ); document.write( "\"A%5E2%2B%28A-6%29%5E2=30%5E2\"
\n" ); document.write( "\"A%5E2%2BA%5E2-12A%2B36=900\"
\n" ); document.write( "\"2A%5E2-12A-864=0\"
\n" ); document.write( "\"A%5E2-6A-432=0\"
\n" ); document.write( "\"%28A-24%29%28A%2B18%29=0\"
\n" ); document.write( "Only positive solutions make sense in this problem,
\n" ); document.write( "\"A-24=0\"
\n" ); document.write( "\"highlight%28A=24%29\"cm
\n" ); document.write( "\"B=A-6=24-6=18\"cm
\n" ); document.write( "
\n" ); document.write( "
\n" );