document.write( "Question 997647: on a right triangle, one leg is two more than twice the other. the hypotenuse is one more than the longer leg. find the sides
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #802547 by CubeyThePenguin(3113)\"\" \"About 
You can put this solution on YOUR website!
shortest leg = x\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x^2 + (2x + 2)^2 = (2x + 3)^2
\n" ); document.write( "3x^2 + 8x + 4 = 4x^2 + 12x + 9\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "x = -1 or 5\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Distance can't be negative, so the side lengths are 5, 12, and 13.
\n" ); document.write( "
\n" );