We can write the following equation to represent the situation in the problem:
where y is the total money spent in one month and x is the number of gallons consumed in one month.
Now, if you drive 25 gallons daily, then for a month we have:
in one month we will need 750 gallons if we drive 25 gallons daily. Then, we can make x = 750 and solve for y:
therefore, you would spend $2552.50 if you drive 25 gallons daily