A car travels 180 miles on 6 gallons of gas.At the same rate, how many gallons of gas are needed to travel 270 miles?