document.write( "Question 68125: Sally bought three chocolate bars and a pack of gum and paid $1.75. Jake bought two chocolate bars and four packs of gum and paid $2.00. Find the cost of the chocolate bar and the cost of a pack of gum.\r
\n" ); document.write( "\n" ); document.write( "I am a bit confused on this can someone help with this. Thanks
\n" ); document.write( "

Algebra.Com's Answer #48402 by ptaylor(2198)\"\" \"About 
You can put this solution on YOUR website!
Let x=cost of Chocolate bars
\n" ); document.write( "And y=cost of gum\r
\n" ); document.write( "\n" ); document.write( "3x+y=$1.75--------------------eq (1)
\n" ); document.write( "2x+4y=$2.00-------------------eq (2)\r
\n" ); document.write( "\n" ); document.write( "From eq (1), we see that y=1.75-3x; substitute this into (2)\r
\n" ); document.write( "\n" ); document.write( "2x+4($1.75-3x)=$2.00 clear parens\r
\n" ); document.write( "\n" ); document.write( "2x+$7.00-12x=$2.00 subtract 7.00 from both sides:\r
\n" ); document.write( "\n" ); document.write( "-10x=-$7.00+$2.00
\n" ); document.write( "-10x=-$5.00
\n" ); document.write( "x=$0.50-------------cost of Chocolate bars\r
\n" ); document.write( "\n" ); document.write( "substitute x=$0.50 into eq (1):\r
\n" ); document.write( "\n" ); document.write( "3($0.50)+y=$1.75\r
\n" ); document.write( "\n" ); document.write( "$1.50+y=$1.75 subtract $1.50 from both sides:\r
\n" ); document.write( "\n" ); document.write( "y=$0.25-----------------------------------------cost of gum\r
\n" ); document.write( "\n" ); document.write( "ck\r
\n" ); document.write( "\n" ); document.write( "3($0.50)+$0.25=$1.75
\n" ); document.write( "$1.75=$1.75\r
\n" ); document.write( "\n" ); document.write( "and\r
\n" ); document.write( "\n" ); document.write( "2($0.50)+4($0.25)=$2.00\r
\n" ); document.write( "\n" ); document.write( "$1.00+$1.00=$2.00
\n" ); document.write( "$2.00=$2.00\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hope this helps-----ptaylor\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );