Two gallons of gasoline cost $7.96, 5 gallons cost $19.90, and 12 gallons cost $47.76. Which equation gives the total cost y of x gallons? (It’s the first question, 7a. I don’t get it pls help will give “thanks” and brainiest answer)

Answer:
y=3.98x
Step-by-step explanation:
y=3.98(2)= 7.96$
y=3.98(5)= 19.90$
y=3.98(12)= 47.76$
The number of gallons times 3.98 equals the price.