Final answer:
The linear equation representing Calvin's spending in candy is y = -0.5x + 30.
Step-by-step explanation:
To represent Calvin's spending on candy using a linear equation, we can use the slope-intercept form, y = mx + b, where y represents the amount of money left on the card, x represents the number of candy pieces Calvin has bought, m represents the rate at which Calvin's spending decreases, and b represents the initial amount of money on the card.
Based on the given information, we can determine the slope, m, by finding the change in y (change in money left on the card) divided by the change in x (change in the number of candy pieces): (28 - 25) / (4 - 10) = -0.5.
Next, we can substitute one of the given points (4, 28) into the equation and solve for b:
28 = (-0.5)(4) + b
28 = -2 + b
b = 30
So, the linear equation that represents Calvin's spending in candy is y = -0.5x + 30.