On a 600-mile trip, Dixons car averaged 50 miles per hour and 30 miles per gallon. During the trip, the car used how many gallons of gas?