The number of miles driven varies directly with the number of gallons of gas used. If 8 gallons of gas are used to drive 204 miles, how many miles can be driven on 18 gallons of gas?