A generator can run for 11 hours on 3 gallons of gasoline. How many hours can the generator run on 9 gallons of gasoline?