document.write( "Question 1115744: Ace Hardware sells boxes of wrenches ($108) and hammers ($340). Howard ordered 35 boxes of wrenches and hammers for $8,188. How many boxes of each are in the order? \n" ); document.write( "
Algebra.Com's Answer #730574 by addingup(3677)\"\" \"About 
You can put this solution on YOUR website!
x + y = 35 subtract x from both sides: y = 35 - x
\n" ); document.write( "108x + 340y = 8,188 in this equation substitute for y:
\n" ); document.write( "108x + 340(35 - x) = 8,188
\n" ); document.write( "108x + 11,900 - 340x = 8,188
\n" ); document.write( "-232x = -3,712 divide both sides by -232, and remember -/- = +
\n" ); document.write( "x = 16
\n" ); document.write( "Howard bought 16 boxes of wrenches and 35-16 = 19 boxes of hammers
\n" ); document.write( "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\n" ); document.write( "Check:
\n" ); document.write( "16(108) + 19(340) = 8,188 Correct
\n" ); document.write( "
\n" );