ricks car gets 29.7 miles per gallon on the highway. if he traveled 310.365 miles, how many gallons of fuel were in his tank?