Brian's car averages 36 miles per gallon of gas. The onboard computer states that Kevin can travel 270 miles before he runs out of gas. How many gallons are in the tank?