The gallons of water used to take a shower varies directly with the number of minutes in the shower. If a 6 minute shower uses 36 gallons of water, what is the constant of variation?