document.write( "Question 122779: The sum of the lengths of one side of a right triangle and the hypotenuse is 20cm. The other leg is 5cm shorter than the hypotenuse. Find the length of each side.\r
\n" ); document.write( "\n" ); document.write( "x^2+(x-5)^2=20^2
\n" ); document.write( "x^2+x^2-25x+25=400
\n" ); document.write( "2x^2-25x-375=0
\n" ); document.write( "x^2-5x-178.50=0\r
\n" ); document.write( "\n" ); document.write( "I just want to double check my steps to make sure I did this right. Thanks is advance.
\n" ); document.write( "

Algebra.Com's Answer #90146 by GSems22(3)\"\" \"About 
You can put this solution on YOUR website!
Your answer appears correct in my eyes. That would be how I would solve it. Good Job! \n" ); document.write( "
\n" );