document.write( "Question 983614: The length of a rectangle is 1 cm shorter than the diagonal. The length is 2 cm longer than twice the width. Find the perimeter of the rectangle. \n" ); document.write( "
Algebra.Com's Answer #604388 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x=width
\n" ); document.write( "2x+2=length
\n" ); document.write( "diagonal is the hypotenuse of a right triangle
\n" ); document.write( "x^2+(4x^2+8x+4)=(2x+3)^2. I squared the width and length and set them equal to the diagonal's length squared\r
\n" ); document.write( "\n" ); document.write( "5x^2+8x+4=4x^2+12x+9
\n" ); document.write( "x^2+-4x-5=0
\n" ); document.write( "(x-5)(x+1)=0
\n" ); document.write( "x=5, only reasonable solution.
\n" ); document.write( "Width is 5, length is 12, diagonal length is 13 (5-12-13 right triangle)
\n" ); document.write( "perimeter is 2 width (10) + 2 length (24)=34 cm.
\n" ); document.write( "
\n" );