You can
put this solution on YOUR website!Let's say that a chocolate bar costs 'c' cents, and a pack of gum costs 'g' cents.
Sally bought 3 chocolate bars, so she spent 3c cents on chocolate. Likewise, she spent 1g, or just g, cents on gum. Together she spent $1.75, or 175 cents. Now we can write:
A similar analysis gives us an expression for Jake's purchase:
Now we have a system of two linear equations in two variables. We are interested in determining the ordered pair (c,g) that satisfies both equations. This looks like a good candidate for the elimination method because the substitution expressions look a little messy to me. (This is a matter of personal preference, or perhaps the instructions in an assignment. Either way, properly performed gets you to the same place)
Multiply equation 1 by -4:
Add the result to the second equation:
Divide by -10
Now we know that chocolate bars cost 50 cents. Substitute this value into either original equation:
So gum costs 25 cents.
Finally, convert your answers back to dollars and cents notation because that was the form of the given values for money in this problem,
Chocolate Bars: $0.50
Gum: $0.25
Check the answer:

and