document.write( "Question 802665: the longer leg of a right triangle is 1 unit longer than the shorter leg. If the hypotenuse is 2 units longer than the shorter leg, find the lenghts of the sides of the triangle \n" ); document.write( "
Algebra.Com's Answer #483986 by Cromlix(4381)\"\" \"About 
You can put this solution on YOUR website!
Shorter leg = x
\n" ); document.write( "Longer leg = 1 + x
\n" ); document.write( "Hypotenuse = 2 + x
\n" ); document.write( "x^2 + (1 + x)^2 = (2 + x)^2
\n" ); document.write( "x^2 + 1 + 2x + x^2 = 4 + 4x + x^2
\n" ); document.write( "collect like terms:
\n" ); document.write( "2x^2 + 2x + 1 = x^2 + 4x + 4
\n" ); document.write( "x^2 - 2x - 3 = 0
\n" ); document.write( "(x - 3)(x + 1) = 0
\n" ); document.write( "x + 1 = 0
\n" ); document.write( "x = -1 (no answer, x<0)
\n" ); document.write( "x - 3 = 0
\n" ); document.write( "x = 3
\n" ); document.write( "Shorter leg = 3 units
\n" ); document.write( "Longer leg = 4 units
\n" ); document.write( "Hypotenuse = 5 units
\n" ); document.write( "Hope this helps.
\n" ); document.write( ":-)
\n" ); document.write( "
\n" );