document.write( "Question 55164: Sally brought three chocolate bars and a pack of gum and paid $1.75. Jake brought two chocolate bars and four packs of gum and paid $2.00 Find the cost of a chocolate bar and the cost of a pack of gum. \n" ); document.write( "
Algebra.Com's Answer #37427 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
Sally brought three chocolate bars and a pack of gum and paid $1.75. Jake brought two chocolate bars and four packs of gum and paid $2.00 Find the cost of a chocolate bar and the cost of a pack of gum.
\n" ); document.write( "--------
\n" ); document.write( "Let cost of cb's be \"x\" and cost of pg's be \"y\".
\n" ); document.write( "EQUATIONS:
\n" ); document.write( "1st: 3x+y=1.75
\n" ); document.write( "2nd: 2x+4y=2.00
\n" ); document.write( "Multiply 1st by 4 to get
\n" ); document.write( "3rd: 12x+4y=7
\n" ); document.write( "Subtract 2nd from 3rd to get:
\n" ); document.write( "10x=5
\n" ); document.write( "x=1/2= 50 cents
\n" ); document.write( "Substitute into 2nd to solve for \"y\":
\n" ); document.write( "2(1/2)+4y=2.00
\n" ); document.write( "4y=1
\n" ); document.write( "y=1/4= 25 cents
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );