Jim is filling two pools at the community center. The first pool already contains 20 gallons of water and is being filled at the rate of 5 gallons per minute. The second pool already contains 50 gallons of water and is being filled at a rate of 3 gallons per minute. After how many minutes will the pools have the same amount of water?