document.write( "Question 887386: 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 #536583 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
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( "***
\n" ); document.write( "let x=length of shorter leg
\n" ); document.write( "x+7=length of longer leg
\n" ); document.write( "2x-7=length of hypotenuse
\n" ); document.write( "By the pythagorean theorem:
\n" ); document.write( "x^2+(x+7)^2=(2x-7)^2
\n" ); document.write( "x^2+x^2+14x+49=4x^2-28x+49
\n" ); document.write( "2x^2-42x=0
\n" ); document.write( "2x(x-21)=0
\n" ); document.write( "x=0 (reject)
\n" ); document.write( "or
\n" ); document.write( "x=21
\n" ); document.write( "x+7=28
\n" ); document.write( "2x-7=35
\n" ); document.write( "length of shorter leg=21 m
\n" ); document.write( "length of longer leg=28 m
\n" ); document.write( "length of hypotenuse=35 m
\n" ); document.write( "
\n" );