John fills the gas tank for his car to full. John then drives 200 miles in the city and averages 25 miles per gallon and 100 miles on the highway and averaged 40 miles per gallon. If gasoline cost $3.29 9/10 then how much will it cost John to fill up his car? Round your answer to the nearest penny.

(I’m not asking for just the answer I would like to know how do I do this and if I get it right then I’ll put the answer on here. Just an explanation on how to do this is what I would like.)

city gas ... 200 mi / 25 mi/gal = 8 gal

hwy gas ... 100 mi / 40 mi/gal = 2.5 gal

to fill up ... 8 + 2.5 = 10.5 gal

cost ... 10.5 gal * 3.299 per gal = ?

Thank you so much R_scott it made much more sense and now I understand how to do it. I will post the answer once it is graded and if it is correct or not.

To calculate how much it will cost John to fill up his car, we need to find out the total number of gallons of gasoline he used and then multiply it by the cost per gallon.

First, let's find out how many gallons of gasoline John used for the 200 miles in the city and the 100 miles on the highway.

For the 200 miles in the city, John averaged 25 miles per gallon. So, he used 200 / 25 = 8 gallons of gasoline.

For the 100 miles on the highway, John averaged 40 miles per gallon. Therefore, he used 100 / 40 = 2.5 gallons of gasoline.

Now, we need to find the total gallons of gasoline used by adding the gallons used in the city and on the highway: 8 + 2.5 = 10.5 gallons.

To determine the cost of filling up, we multiply the total gallons used (10.5) by the cost per gallon ($3.299). Thus, the cost is 10.5 * $3.299 = $34.63.

Therefore, it will cost John approximately $34.63 to fill up his car, rounded to the nearest penny.