A chef is filling one sink with water, while emptying another. The first sink is empty and is being filled at a rate of 4 gallons per minute. The second sink is full and is being drained at a rate of 2 gallons per minute. If both sinks hold 24 gallons of water, how many minutes will it take for the two sinks to have the same amount of water?