document.write( "Question 4129: One side of a rectangle is 7 cm longer than the other side. The diagonal is 8 cm longer than the shortest side of the rectangle. Find the dimensions of the rectangle. I am stuck and do not know how to solve this problem \n" ); document.write( "
Algebra.Com's Answer #1818 by rapaljer(4671)\"\" \"About 
You can put this solution on YOUR website!
Let x = first side of the rectangle (width)
\n" ); document.write( " x+7 = second side of the rectangle (length)
\n" ); document.write( " x+8 = diagonal of the rectangle (hypotenuse of the right triangle)\r
\n" ); document.write( "\n" ); document.write( "\"x%5E2+%2B+%28x%2B7%29%5E2+=+%28x%2B8%29%5E2+\"\r
\n" ); document.write( "\n" ); document.write( "\"+x%5E2+%2B+x%5E2+%2B+14x+%2B+49+=+x%5E2+%2B+16x+%2B+64+\"\r
\n" ); document.write( "\n" ); document.write( "This is a quadratic equation, so set it equal to zero!\r
\n" ); document.write( "\n" ); document.write( "\"+x%5E2+%2B+x%5E2+%2B+14x+%2B+49+-+x%5E2+-+16x+-+64+=+0\"\r
\n" ); document.write( "\n" ); document.write( "\"x%5E2+-+2x+-+15+=+0\"\r
\n" ); document.write( "\n" ); document.write( "Factor the left side:\r
\n" ); document.write( "\n" ); document.write( "\"+%28x+-+5%29%28x+%2B+3%29+=+0+\"
\n" ); document.write( " x = 5 or x = -3\r
\n" ); document.write( "\n" ); document.write( "Since x is a side of a triangle, it cannot be negative. Therefore reject the x=-3. \r
\n" ); document.write( "\n" ); document.write( "If x = 5, then x + 7 = 12, and x + 8 = 13. \r
\n" ); document.write( "\n" ); document.write( "The rectangle is 5 by 12 and the diagonal is 13.
\n" ); document.write( "
\n" );