A water tank is leaking at a rate of 6 gallons per hour.

At that rate, how many gallons of water will leak in 3 hours?

A.
2 gallons

B.
3 gallons

C.
9 gallons

D.
18 gallons