Bobby needed to make some trips with his truck and had only 12 gallons of gasoline. He drives to a supermarket 5 miles away and then drives back home. Then he headed to his farm which was 6 miles away. Two miles into the journey, he turned around and drove back home to retrieve some farming tools he forgot to take earlier and drove down to the farm. If he now has exactly 2 gallons of gasoline left, at what rate in miles per gallon has his truck been consuming gasoline? Let's think step by step and output the final answer after "####".
user
The trip to the supermarket and back home covers 5+5=<<5+5=10>>10 miles.
The round trip of two miles each before he actually went to the farm covers 2+2=<<2+2=4>>4 miles.
Six miles to the farm and the total mileage is 10+4+6=<<10+4+6=20>>20 miles.
The truck consumed 12-2=<<12-2=10>>10 gallons of gasoline for the total journey.
So, the rate is 20/10= <<20/10=2>>2 miles per gallon.
#### 2
Bobby needed to make some trips with his truck and had only 12 gallons of gasoline. He drives to a supermarket 5 miles away and then drives back home. Then he headed to his farm which was 6 miles away. Two miles into the journey, he turned around and drove back home to retrieve some farming tools he forgot to take earlier and drove down to the farm. If he now has exactly 2 gallons of gasoline left, at what rate in miles per gallon has his truck been consuming gasoline?
train