document.write( "Question 57521: Sally brought 3 chocolate bars and a pack of gum and paid $1.75. Jake brought 2 chocolate bars and 4 packs of gum and paid $2.00. Find the cost of a chocolate bar and the cost of a pack of gum. Thanks William \n" ); document.write( "
Algebra.Com's Answer #39261 by rcmcc(152)\"\" \"About 
You can put this solution on YOUR website!
let the chocolate bars be X
\n" ); document.write( "Let gum be Y\r
\n" ); document.write( "\n" ); document.write( "form 2 linear equations to find for x and y,
\n" ); document.write( "3X+Y=1.75
\n" ); document.write( "2X+4Y=2.00\r
\n" ); document.write( "\n" ); document.write( "In this case it would be easier and more simple to solve for x first,
\n" ); document.write( "multiply the first equation by 4, then subtract the equations to form a single linear equation\r
\n" ); document.write( "\n" ); document.write( "12X+4Y=7.00
\n" ); document.write( "2x+4Y=2.00
\n" ); document.write( "_____________
\n" ); document.write( "10X=5\r
\n" ); document.write( "\n" ); document.write( "divide out 10 to isolate x\r
\n" ); document.write( "\n" ); document.write( "X=0.50\r
\n" ); document.write( "\n" ); document.write( "substitute x into the first equation to solve for y,\r
\n" ); document.write( "\n" ); document.write( "3(.50)+Y=1.75
\n" ); document.write( "1.50+y=1.75
\n" ); document.write( "Y=.25\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So a chocolate bar costs $0.50 and a pack of gum is $0.25
\n" ); document.write( "
\n" );