document.write( "Question 478264: best buy recently charged $17.99 per box of pens and $7.49 per box for pencils.
\n" ); document.write( "If Hag High School purchased 120 such boxes for a total of $1234.80 how many boxes of each type did they purchase?
\n" ); document.write( "

Algebra.Com's Answer #327679 by ewatrrr(24785)\"\" \"About 
You can put this solution on YOUR website!
 
\n" ); document.write( "Hi,
\n" ); document.write( "purchased 120 such boxes
\n" ); document.write( "Let x and (120 -x) represent the number of boxes of pens and pencils respectively
\n" ); document.write( "Question states***
\n" ); document.write( " 17.99x + 7.49(120-x) = 1234.80
\n" ); document.write( " 10.50x = 1234.80 - 7.49*120
\n" ); document.write( " 10.5x = 336
\n" ); document.write( " x = 32 boxes of pens and 88 boxes of pencils (120-32)\r
\n" ); document.write( "\n" ); document.write( "CHECKING our Answer***
\n" ); document.write( " 32*$17.99 + 88*$7.49 = $575.68 + $659.12 = $1234.80
\n" ); document.write( " \n" ); document.write( "
\n" );