We are given that Calvin bought 5 pieces of fudge and 3 pieces of bubble gum for a total of $5.70. If the cost of each fudge is "f" and the cost of each gum is "g", then the equation representing the purchase for Calvin is:
This is our first equation.
We are also given that Sara bought 2 pieces of fudge and 10 pieces of bubble gum for a total of $3.60. The equation representing the purchase for Sara is
This is our second equation.
To solve the system we will solve for "f" in equation (1). To do that we will subtract "3g" from both sides:
Now we divide both sides by 5:
Now we substitute this value in equation (1):
Now we divide the equation by 2, we get:
Simplifying we get:
Now we multiply both sides by 5:
Now we add like terms:
Now we subtract 5.7 to both sides, we get:
Now we divide both sides by 22:
Now, we substitute this value in equation (1) where we have already solved for "f":
Substituting the value of "g" we get:
Now we solve the operations, we solve the product:
Now we solve the operations:
Therefore, the price of gums is $0.15 and the price of fudge is $1.05.