To calculate the total cost to fill up your tank, multiply the number of gallons by the cost per gallon:
Total cost = Number of gallons × Cost per gallon Total cost = 22.35 gallons × $1.79 per gallon
Total cost = $39.8715
Rounding to two decimal places, the total cost is approximately $39.87.
None of the provided options match this total cost, so please verify the price per gallon or the number of gallons for an accurate calculation.