4.5 gallons = 4.5 * 8 pints = <<4.5*8=36>>36 pints
36/18 = <<36/18=2>>2 pints
Genevieve drank 2*3=<<2*3=6>>6 pints of coffee.
#### 6