document.write( "Question 1014185: A garden has the shape of a right triangle with one leg 7 meters longer than the other. The hypotenuse is 7 meters less than twice the length of the shorter leg. What is the length of the shorter​ leg? \n" ); document.write( "
Algebra.Com's Answer #630527 by ikleyn(52810)\"\" \"About 
You can put this solution on YOUR website!
.
\n" ); document.write( "A garden has the shape of a right triangle with one leg 7 meters longer than the other. The hypotenuse is 7 meters less than twice the length of the shorter leg. What is the length of the shorter leg?
\n" ); document.write( "-----------------------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\r\n" );
document.write( "So, the legs are x and x+7, while the hypotenuse is 2x-7.\r\n" );
document.write( "\r\n" );
document.write( "The Pythagorean equation is \r\n" );
document.write( "\r\n" );
document.write( "\"x%5E2+%2B+%28x%2B7%29%5E2\" = \"%282x-7%29%5E2\",   or\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E2+%2B+x%5E2+%2B+14x+%2B+49\" = \"4x%5E2+-+28x+%2B+49\",   or\r\n" );
document.write( "\r\n" );
document.write( "\"2x%5E2+-+42x\" = \"0\"\r\n" );
document.write( "\r\n" );
document.write( "with the only appropriate solution x = 21.\r\n" );
document.write( "\r\n" );
document.write( "Check: 21^2 + (21+7)^2 = 21^2 + 28^2 = 1225;\r\n" );
document.write( "       (2*21 - 7)^2 = 35^2 = 1225.\r\n" );
document.write( "\r\n" );
document.write( "Answer. The shorter leg is 21 meter.\r\n" );
document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );