document.write( "Question 1186317: Joe cuts out a piece of paper in the shape of a right triangle. The longer leg of the triangle is 20 inches longer than twice the length of the shorter leg. The hypotenuse is 30 inches longer than twice the length of the shorter leg. What is the length of the longer leg? \n" ); document.write( "
Algebra.Com's Answer #817251 by robertb(5830)\"\" \"About 
You can put this solution on YOUR website!
\r
\n" ); document.write( "\n" ); document.write( "Shorter leg = x
\n" ); document.write( "Longer leg = 2x + 20
\n" ); document.write( "Hypotenuse = 2x + 30\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "===> \"x%5E2+%2B+%282x%2B20%29%5E2+=+%282x%2B30%29%5E2\" ===> \"x%5E2+-+40x+-+500+=+0\" after expanding some terms and simplifying.\r
\n" ); document.write( "\n" ); document.write( "<===> (x-50)(x+10) = 0. ===> x = 50. (x = -10 is not acceptable.)\r
\n" ); document.write( "\n" ); document.write( "===> The length of the longer leg is 2*50 + 20 = 120 inches.
\n" ); document.write( "
\n" );