document.write( "Question 722403: Three sides of a right triangle are labeled as x-2, x+5 and x+6. I need to find X. I used the Pythagorean theorem and after all my calculations I came to x=6. However, when I put it back into the theorem it does not add up. I am concerned I am doing something wrong in the algebra part of this equation. Can you help?
\n" ); document.write( "Here is my formula: \"+%28x-2%29squared+%2B+%28x%2B5%29squared+=+%28x%2B6%29+squared+\"
\n" ); document.write( "

Algebra.Com's Answer #442734 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
I continue\r
\n" ); document.write( "\n" ); document.write( "\"%28x-2%29%5E2%2B%28x%2B5%29%5E2=%28x%2B6%29%5E2\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2-4x%2B4%2Bx%5E2%2B10x%2B25=+x%5E2%2B12x%2B36\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2-6x-7=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2-7x%2Bx-7=0\"\r
\n" ); document.write( "\n" ); document.write( "\"x%28x-7%29%2B1%28x-7%29=0\"\r
\n" ); document.write( "\n" ); document.write( "(x-7)(x+1)=0\r
\n" ); document.write( "\n" ); document.write( "x= 7 Taking the positive value\r
\n" ); document.write( "\n" ); document.write( "Check
\n" ); document.write( "5^2+12^2
\n" ); document.write( "25+144=169\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );