Answer:
First find out the how many gallons of water does it use each hour .
To prove
As given
An ice machine uses 3 gallons of water every 9 hours.
3 gallons of water = 9 hours

Water uses by ice machine in one hours = 0.33 gallons (Approx)
Now find out how many hours does it take to use one gallon .
As given
An ice machine uses 3 gallons of water every 9 hours.
3 gallons of water = 9 hours

Hours take by ice machine to use one gallons of water = 3 hours.