document.write( "Question 659679: A flower garden is in the shape of a right triangle. The longest side of the triangle is 13m. One of the
\n" ); document.write( "shorter sides (legs) is 7 m longer than the other. Find the length of the two sides.\r
\n" ); document.write( "\n" ); document.write( "I know the answers, I just need to know how to show my work.
\n" ); document.write( "

Algebra.Com's Answer #410864 by ReadingBoosters(3246)\"\" \"About 
You can put this solution on YOUR website!
Using Pythagorean Theorem, plug in a, b and c
\n" ); document.write( "a^2 + (7+a)^2 = c^2
\n" ); document.write( "a^2 + (7+a)(7+a) = c^2
\n" ); document.write( "a^2 + a^2 + 7a + 7a + 49 = 13^2
\n" ); document.write( "Combine like terms
\n" ); document.write( "2a^2 + 14a + 49 = 169
\n" ); document.write( "2a^2 + 14a + 49 - 169 = 169 - 169
\n" ); document.write( "2a^2 + 14 - 120 = 0
\n" ); document.write( "2(a^2 + 7 - 60) = 0
\n" ); document.write( "2(a-5)(a+12)=0
\n" ); document.write( "2(a-5)(a+12)/2=0/2
\n" ); document.write( "a - 5 = 0; a = 5
\n" ); document.write( "a +12 = 0; a = -12
\n" ); document.write( "so, a =5, b = 12 and c = 13\r
\n" ); document.write( "\n" ); document.write( "Proof
\n" ); document.write( "5^2 + 12^2 = 13^2
\n" ); document.write( "25 + 144 = 169
\n" ); document.write( "13^2 = 169
\n" ); document.write( "
\n" );