document.write( "Question 1086768: A toy manufacturer needs a piece of plastic in the shape of a right triangle with the longer leg 4 cm more than the shorter leg and the hypotenuse 8 cm more than the shorter leg. How long should the sides of the triangle​ be?\r
\n" ); document.write( "\n" ); document.write( "The sides are?
\n" ); document.write( "

Algebra.Com's Answer #700994 by jorel1380(3719)\"\" \"About 
You can put this solution on YOUR website!
Let n be the length of the short side. Then the longer leg is n+4, and the hypotenuse is n+8. So:
\n" ); document.write( "n²+(n+4)²=(n+8)²
\n" ); document.write( "2n²+8n+16=n²+16n+64
\n" ); document.write( "n²-8n-48=0
\n" ); document.write( "(n-12)(n+4)=0
\n" ); document.write( "n=12,-4
\n" ); document.write( "Your legs are 12, 16, and 20
\n" ); document.write( "☺☺☺☺
\n" ); document.write( "
\n" );