Container A has 300 liters of water, and is being filled at a rate of 6 liters per minute. Container B has 900 liters of water, and is being drained at 2 liters per minute. How many minutes, m, will it take for the two containers to have the same amount of water?