document.write( "Question 801198: a shop has one-pound bags of peanuts for $2 and three-pound bags of peanuts for $5.50. if you buy 5 bags and spend $17, how many of each bag did you buy?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #483462 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Let \"+a+\" = number of 1 pound bags
\n" ); document.write( "Let \"+b+\" = number of 3 pound bags
\n" ); document.write( "--------------
\n" ); document.write( "(1) \"+a+%2B+b+=+5+\"
\n" ); document.write( "(2) \"+2a+%2B+5.5b+=+17+\"
\n" ); document.write( "---------------------
\n" ); document.write( "Multiply both sides of (1) by \"2\"
\n" ); document.write( "and subtract (1) from (2)
\n" ); document.write( "(2) \"+2a+%2B+5.5b+=+17+\"
\n" ); document.write( "(1) \"+-2a+-+2b+=+-10+\"
\n" ); document.write( "\"+3.5b+=+7+\"
\n" ); document.write( "\"+b+=+2+\"
\n" ); document.write( "and, since
\n" ); document.write( "(1) \"+a+%2B+b+=+5+\"
\n" ); document.write( "(1) \"+a+=+3+\"
\n" ); document.write( "You bought 3 1-pound bags and
\n" ); document.write( "2 3-pound bags
\n" ); document.write( "---------------
\n" ); document.write( "check:
\n" ); document.write( "(2) \"+2a+%2B+5.5b+=+17+\"
\n" ); document.write( "(2) \"+2%2A3+%2B+5.5%2A2+=+17+\"
\n" ); document.write( "(2) \"+6+%2B+11+=+17+\"
\n" ); document.write( "(2) \"+17+=+17+\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" ); document.write( "
\n" );