let the variable "b" represent the number of bagels you buy
let the variable "R" represent the amount of money you have left
R = 25 - 1.25b
is your equation
then to find out after you bought 2 bagels
R = 25 - 1.25(2) = 25 - 2.5 = 22.5
do you would have $22.50 left on the card after you buy 2 bagels