document.write( "Question 28585: This one gets me because I think I'm close but cannot get a perfect match on the numbers.\r
\n" ); document.write( "\n" ); document.write( "I bought 4 bags of chips and 1 bag of peanuts for $1.75. Then my sister bough 2 bags of chips and 4 bags of peanuts for $2.00. Find the cost of a bage of chips and the cost for a bag of peanuts.\r
\n" ); document.write( "\n" ); document.write( "3x+1y=1.75
\n" ); document.write( "2x+4y=2.00
\n" ); document.write( "so,
\n" ); document.write( "3x+1y=1.75
\n" ); document.write( "-4x-8y=-400
\n" ); document.write( "-7y=-2.25
\n" ); document.write( "y=0.32\r
\n" ); document.write( "\n" ); document.write( "3x+1(0.32)=1.75
\n" ); document.write( "3x+0.32=1.75
\n" ); document.write( "3x=1.43
\n" ); document.write( "x=0.47\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #15585 by Paul(988)\"\" \"About 
You can put this solution on YOUR website!
Let the cost of bag of chips be x
\n" ); document.write( "Let the cost of bag of peanuts be y\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "4x+y=1.75----> y=1.75-4x (subsitution) \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "2x+4y=2
\n" ); document.write( "Subsitute)
\n" ); document.write( "2x+4(1.75-4x)=2
\n" ); document.write( "2x-16x=2-7
\n" ); document.write( "-14x=-5
\n" ); document.write( "x=0.36 (rounded)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "y=1.75-4(0.36)
\n" ); document.write( "y=0.31\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hence, a cost of a bag of chips is $0.36 and a cost of a bag of peanuts is $0.31.
\n" ); document.write( "Paul.
\n" ); document.write( "
\n" );