o find out how many candy bars Eugene bought, you can set up an equation. Let C represent the number of candy bars.
The total amount spent is $14, and it's composed of the cost of the magazine ($6) and the cost of the candy bars ($2 per candy bar times C):
Total cost = Magazine cost + (Cost per candy bar × Number of candy bars)
$14 = $6 + ($2 × C)
Now, isolate the term with C:
$14 - $6 = $2C
$8 = $2C
Next, solve for C by dividing both sides by 2:
$8 / $2 = $2C / $2
4 = C
So, Eugene bought 4 candy bars.