You decide to treat yourself to some of your favorite cookies. The box that you bought has 24 cookies. You eat 2 cookies each day as a snack. Which equation shows the number of cookies that you have left at the end of each day?
a.y=-2x+24

b.y=-2x-24

c.y=2x-24

d.y=24x-2