document.write( "Question 480463: At the local convenience store, 6 bags of chips and 4 containers of dip cost $34. However, 4 bags of chips and 2 containers of dip cost $20. What is the cost of one bag of chips and one container of dip? \n" ); document.write( "
Algebra.Com's Answer #329034 by mathstutor494(120)\"\" \"About 
You can put this solution on YOUR website!
Let \"c\" and \"d\" be cost per unit bag of chips and container of dip respectively\r
\n" ); document.write( "\n" ); document.write( "Given in the problem.... 6 bags of chips and 4 containers of dip cost $34
\n" ); document.write( "which is expressed as
\n" ); document.write( "6c+4d=34............(1)\r
\n" ); document.write( "\n" ); document.write( "Also given that 4 bags of chips and 2 containers of dip cost $20
\n" ); document.write( "which is expressed as
\n" ); document.write( "4c+2d=20........(2)\r
\n" ); document.write( "\n" ); document.write( "Multiplying eqn no. 2 by 2 results in
\n" ); document.write( "8c+4d=40..........(3)\r
\n" ); document.write( "\n" ); document.write( "Subtracting eqn no 1 from 3 results in
\n" ); document.write( "(8c+4d)-(6c+4d)=40-34
\n" ); document.write( "8c+4d-6c-4d=6
\n" ); document.write( "2c=6 ( as 4d gets cancelled out)
\n" ); document.write( "dividing both sides by 2
\n" ); document.write( "c=3\r
\n" ); document.write( "\n" ); document.write( "Now substituting value of c in eqn no.1 to get value of d.....
\n" ); document.write( "6*3+4d=34
\n" ); document.write( "18+4d=34
\n" ); document.write( "Subtracting 18 from either side in above equation results in
\n" ); document.write( "4d=16
\n" ); document.write( "Dividing both sides by 4
\n" ); document.write( "d=4\r
\n" ); document.write( "\n" ); document.write( "Ans : cost of one bag of chips $3 and one container of dip $4
\n" ); document.write( "
\n" );