document.write( "Question 445399: a garden has the shape of a right triangle with one leg 5 meters longer than the other. the hypotenuse is 5 meters less than twice the length of the shorter leg
\n" ); document.write( "what is the length of the shorter leg?
\n" ); document.write( "

Algebra.Com's Answer #306800 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
shorter leg =x
\n" ); document.write( "longer leg = x+5
\n" ); document.write( "hyp=2x-5\r
\n" ); document.write( "\n" ); document.write( "...
\n" ); document.write( "Apply Pythagoras theorem
\n" ); document.write( "x^2+(x+5)^2=(2x-5)^2
\n" ); document.write( "x^2+x^2+10x+25=4x^2-20x+25
\n" ); document.write( "group the terms
\n" ); document.write( "2x^2-30x=0
\n" ); document.write( "2x(x-15)=0
\n" ); document.write( "so x= 15
\n" ); document.write( "..
\n" ); document.write( "15^2+20 ^2= 625
\n" ); document.write( "(2x-5)^2= 625\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );