document.write( "Question 1066615: Cynthia Besch wants to buy a rug for a room that is 18 ft wide and 31 ft long. She wants to leave a uniform strip of floor around the rug. She can afford to buy 300 square feet of carpeting. What dimensions should the rug​ have? The dimensions of the rug should be
\n" ); document.write( "blank ft.
\n" ); document.write( "

Algebra.Com's Answer #681798 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+x+\" = the width of the border
\n" ); document.write( "around the rug. The width and length
\n" ); document.write( "both get increased by \"+2x+\"
\n" ); document.write( "\"+%28+18+-+2x+%29%2A%28+31+-+2x+%29+=+300+\"
\n" ); document.write( "\"+558+-+62x+-+36x+%2B+4x%5E2+=+300+\"
\n" ); document.write( "\"+4x%5E2+-+98x+%2B+258+=+0+\"
\n" ); document.write( "\"+2x%5E2+-+49x+%2B+129+=+0+\"
\n" ); document.write( "Use quadratic formula
\n" ); document.write( "\"+x+=+%28-b+%2B-+sqrt%28+b%5E2+-+4%2Aa%2Ac+%29%29+%2F+%282%2Aa%29+\"
\n" ); document.write( "\"+a+=+2+\"
\n" ); document.write( "\"+b+=+-49+\"
\n" ); document.write( "\"+c+=+129+\"
\n" ); document.write( "\"+x+=+%28-%28-49%29+%2B-+sqrt%28%28-49%29%5E2+-+4%2A2%2A129+%29%29+%2F+%282%2A2%29+\"
\n" ); document.write( "\"+x+=+%28+49+%2B-+sqrt%28+2401+-+1032+%29%29+%2F+4+\"
\n" ); document.write( "\"+x+=+%28+49+%2B-+sqrt%28+1369+%29%29+%2F+4+\"
\n" ); document.write( "\"+x+=+%28+49+-+37+%29%2F4+\" ( the negative square root works here )
\n" ); document.write( "\"+x+=+12%2F4+\"
\n" ); document.write( "\"+x+=+3+\"
\n" ); document.write( "-----------------
\n" ); document.write( "\"+%28+18+-+2x+%29%2A%28+31+-+2x+%29+=+300+\"
\n" ); document.write( "\"+18+-+2x+=+18+-+2%2A3+\"
\n" ); document.write( "\"+18+-+2x+=+18+-+6+\"
\n" ); document.write( "\"+18+-+2x+=+12+\"
\n" ); document.write( "and
\n" ); document.write( "\"+31+-+2x+=+31+-+2%2A3+\"
\n" ); document.write( "\"+31+-+2x+=+25++\"
\n" ); document.write( "----------------------------
\n" ); document.write( "The dimensions of the rug are 12 x 25
\n" ); document.write( "check:
\n" ); document.write( "\"+12%2A25+=+300+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );