A car gets 40 kilometers per gallon of gasoline. How many gallons of gasoline would the car need to travel 180 kilometers?