document.write( "Question 230704: can you help me with this:\r
\n" ); document.write( "\n" ); document.write( "2 legs of a right triangle have a total length of 21cm. hypotenuse is 15cm. Find the length of each leg of this right triangle.
\n" ); document.write( "

Algebra.Com's Answer #170876 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
X+Y=21 OR X=21-Y
\n" ); document.write( "X^2+Y^2=15^2
\n" ); document.write( "REPLACE THE X TERM IN THE SECOND EQUATION WITH (21-Y) & SOLVE FOR Y.
\n" ); document.write( "(21-Y)^2+Y^2=15^2
\n" ); document.write( "441-42Y+Y^2+Y^2=225
\n" ); document.write( "2Y^2-42Y+441-225=0
\n" ); document.write( "2Y^2-42Y+216=0
\n" ); document.write( "2(Y^2-21Y+108)=0
\n" ); document.write( "2(Y-12)(Y-9)=0
\n" ); document.write( "Y-12=0
\n" ); document.write( "Y=12 ANS. X=9 ANS.
\n" ); document.write( "Y-9=0
\n" ); document.write( "Y=9 ANS. X=12 ANS.
\n" ); document.write( "PROOF:
\n" ); document.write( "9^2+12^2=15^2
\n" ); document.write( "81+144=225
\n" ); document.write( "225=225\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );