Water tank A has $220$ gallons of water and is being drained at a constant rate of $5$ gallons per minute.

Water tank B has $180$ gallons of water and is being drained at a constant rate of $3$ gallons per minute.How much time, in minutes, do water tank A and water tank B have to be drained in order for them to have the same amount of water? Show all the steps you took to find your answer.

You want x minutes, where

220-5x = 180-3x