document.write( "Question 824026: the sides of a right angle triangle, in centimetres, are x, 2x-2, and x+2, where x+2 is the hypotenuse.
\n" ); document.write( "use pythagoras' theorem to find their lengths
\n" ); document.write( "in other words find x
\n" ); document.write( "the answer is:
\n" ); document.write( "x= 3cm
\n" ); document.write( "2x-2= 4cm
\n" ); document.write( "x+2= 5cm
\n" ); document.write( "but how do i find this?
\n" ); document.write( "

Algebra.Com's Answer #496018 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
The Pythagorean theorem says
\n" ); document.write( "\"one\"\"leg%5E2%2Bthe\"\"other\"\"leg%5E2=hypotenuse%5E2\" .
\n" ); document.write( "Applied to this case, we get the equation
\n" ); document.write( "\"x%5E2%2B%282x-2%29%5E2=%28x%2B2%29%5E2\" .
\n" ); document.write( "
\n" ); document.write( "Solving:
\n" ); document.write( "\"x%5E2%2B%282x-2%29%5E2=%28x%2B2%29%5E2\"
\n" ); document.write( "\"x%5E2%2B4x%5E2-8x%2B4=x%5E2%2B4x%2B4\"
\n" ); document.write( "\"5x%5E2-8x%2B4=x%5E2%2B4x%2B4\"
\n" ); document.write( "\"5x%5E2-8x%2Bcross%284%29=x%5E2%2B4x%2Bcross%284%29\"
\n" ); document.write( "\"5x%5E2-x%5E2-8x-4x=0\"
\n" ); document.write( "\"4x%5E2-12x=0\"
\n" ); document.write( "\"4x%28x-3%29=0\"
\n" ); document.write( "\"4x=0\"<-->\"x=0\" does not make sense.
\n" ); document.write( "The only solution that makes sense is
\n" ); document.write( "\"x-3=0\"<-->\"x=3\"
\n" ); document.write( "So, if \"x=3\"
\n" ); document.write( "\"x%2B2=3%2B2\" --> \"x%2B2=5\" and
\n" ); document.write( "\"2x-2=2%2A3-2\" --> \"2x-2=6-2\" --> \"2x-2=4\"
\n" ); document.write( "
\n" ); document.write( "
\n" );