A tub drains water at a rate of 3 gallons a minute. Which equation shows the relationship between g, the number of gallons of water drained from the tub and m, the number of minutes the tub has been draining water?