document.write( "Question 661227: If the length of one leg of a right triangle is x+2, and the length of the hypotenuse is x+3, where x>-2, what is the length of the other leg in terms of x?\r
\n" ); document.write( "\n" ); document.write( "I have difficulty setting the equation up, someone please explain! Much help is appreciated.
\n" ); document.write( "

Algebra.Com's Answer #412007 by htmentor(1343)\"\" \"About 
You can put this solution on YOUR website!
Let s = the length of the other leg
\n" ); document.write( "Then using the Pythagorean theorem, we can write
\n" ); document.write( "(x+3)^2 = (x+2)^2 + s^2
\n" ); document.write( "s^2 = x^2 + 6x + 9 - x^2 - 4x - 4
\n" ); document.write( "s^2 = 2x + 5
\n" ); document.write( "So the length of the other side is \"sqrt%282x%2B5%29\"
\n" ); document.write( "
\n" );