Definition: The task is to generate the correct answer for a given math problem.
Input: Problem: a car traveled 560 miles per tankful of gasoline on the highway and 336 miles per tankful of gasoline in the city . if the car traveled 6 fewer miles per gallon in the city than on the highway , how many miles per gallon did the car travel in the city ?
