Martin has a gift card to a coffee shop. Each day he buys the same coffee. This table shows the amount remaining in dollars on the gift card on different days.



Time (days) 2 4 6 8
Amount remaining ($) $24 $18 $12 $6
Which equation represents this situation, where x is the time and y is the amount remaining?

Responses

3x + y = 30
3, x, , + , y, = 30

x + 3y = 30
x, + 3, y , = 30

x−3y=30
x minus 3 y equals 30

3x−y=30