document.write( "Question 926940: The hypotenuse of a right triangle is 15 cm. The sum of the other two sides is 21 cm. find the lengths of the other two sides of the triangle. \r
\n" ); document.write( "\n" ); document.write( "The answer is 9 and 12, but I don't know how to get it. \r
\n" ); document.write( "\n" ); document.write( "Thanks!!
\n" ); document.write( "

Algebra.Com's Answer #562594 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
The hypotenuse of a right triangle is 15 cm. The sum of the other two sides is 21 cm. find the lengths of the other two sides of the triangle.
\n" ); document.write( " The answer is 9 and 12, but I don't know how to get it.
\n" ); document.write( "------------
\n" ); document.write( "Sketch a picture of a right triangle with hypo = 15, one side
\n" ); document.write( " = x cm; the other side = 21-x cm.
\n" ); document.write( "--------------------------
\n" ); document.write( "Equation::
\n" ); document.write( "x^2 + (21-x)^2 = 15^2
\n" ); document.write( "-----
\n" ); document.write( "x^2 + 21^2 - 42x + x^2 = 225
\n" ); document.write( "-------
\n" ); document.write( "2x^2 - 42x + 21^2-225 = 0
\n" ); document.write( "-----
\n" ); document.write( "2x^2 - 42x + 216 = 0
\n" ); document.write( "----
\n" ); document.write( "x^2 - 21x + 108 = 0
\n" ); document.write( "-----
\n" ); document.write( "x = 9 ; 21-9 = 12
\n" ); document.write( "--------------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "--------------------
\n" ); document.write( "
\n" );