document.write( "Question 1007161: will sold 190 caramel and almond candy bars. he earns $.60 for each caramel bar and $2 for each almond bar he sells. If he earns $282 how many of each type did he sell? \n" ); document.write( "
Algebra.Com's Answer #623169 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = number of caramel bars he sold
\n" ); document.write( "Let \"+b+\" = number of almond bars he sold
\n" ); document.write( "------------------------------------
\n" ); document.write( "(1) \"+a+%2B+b+=+190+\"
\n" ); document.write( "(2) \"+.6a+%2B+2b+=+282+\"
\n" ); document.write( "---------------------
\n" ); document.write( "(2) \"+6a+%2B+20b+=+2820+\"
\n" ); document.write( "(2) \"+3a+%2B+10b+=+1410+\"
\n" ); document.write( "Multiply both sides of (1) by \"+3+\" and
\n" ); document.write( "subtract (1) from (2)
\n" ); document.write( "(2) \"+3a+%2B+10b+=+1410+\"
\n" ); document.write( "(1) \"+-3a+-+3b+=+-570+\"
\n" ); document.write( "---------------------
\n" ); document.write( "\"+7b+=+840+\"
\n" ); document.write( "\"+b+=+120+\"
\n" ); document.write( "and
\n" ); document.write( "(1) \"+a+%2B+b+=+190+\"
\n" ); document.write( "(1) \"+a+%2B+120+=+190+\"
\n" ); document.write( "(1) \"+a+=+70+\"
\n" ); document.write( "--------------
\n" ); document.write( "70 = number of caramel bars he sold
\n" ); document.write( "120 = number of almond bars he sold
\n" ); document.write( "---------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+.6a+%2B+2b+=+282+\"
\n" ); document.write( "(2) \"+.6%2A70+%2B+2%2A120+=+282+\"
\n" ); document.write( "(2) \"+42+%2B+240+=+282+\"
\n" ); document.write( "(2) \"+282+=+282+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );