document.write( "Question 300414: One leg of a right triangle with hypotenuse 15 cm is 3 cm longer than the other leg. What is the length of the two legs? \n" ); document.write( "
Algebra.Com's Answer #215635 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
x^2+(x+3)^2=15^2
\n" ); document.write( "x^2+x^2+6x+9=225
\n" ); document.write( "2x^2+6x+9-225=0
\n" ); document.write( "2x^2+6x-216=0
\n" ); document.write( "2(x^2+3x-108)=0
\n" ); document.write( "2(x+12)(x-9)=0
\n" ); document.write( "x-9=0
\n" ); document.write( "x=9 ans. for the short side.
\n" ); document.write( "9+3=12 ans. for the longer side.
\n" ); document.write( "Proof:
\n" ); document.write( "9*2+12^2=15^2
\n" ); document.write( "81+144=225
\n" ); document.write( "225=225
\n" ); document.write( "
\n" );