document.write( "Question 1019712: A livestock pen is built in the shape of a rectangle that is twice as long as it is wide. The perimeter is 48 feet. If the material used to build the pen is $2.25 per foot for the longer sides and $4.25 per foot for the shorter sides (the shorter sides have gates, which increase the cost per foot), find the cost to build the pen. \n" ); document.write( "
Algebra.Com's Answer #635652 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+x+\" = the width
\n" ); document.write( "\"+2x+\" = the length
\n" ); document.write( "---------------------
\n" ); document.write( "Use the formula for perimeter:
\n" ); document.write( "\"+48+=+x+%2B+x+%2B+2x+%2B+2x+\"
\n" ); document.write( "\"+6x+=+48+\"
\n" ); document.write( "\"+x+=+8+\"
\n" ); document.write( "-----------
\n" ); document.write( "The 2 shorter sides add up to:
\n" ); document.write( "\"+2x+=+2%2A8+\"
\n" ); document.write( "\"+2x+=+16+\" ft
\n" ); document.write( "The 2 longer sides add up to:
\n" ); document.write( "\"+4x+=+32+\" ft
\n" ); document.write( "------------------------
\n" ); document.write( "Let \"+C+\" = the cost to build the pen
\n" ); document.write( "\"+C+=+2.25%2A32+%2B+4.25%2A16+\"
\n" ); document.write( "\"+C+=+72+%2B+68+\"
\n" ); document.write( "\"+C+=+140+\"
\n" ); document.write( "$140
\n" ); document.write( "
\n" );