We can start with subtracting 7040 from 20,000, getting us 12960 gallons remaining, If 720 gallons per hour are coming, we can make the equation 12960 = 720h, with h as hours. Next, we can divide both sides by 720, getting us 18. It will take 18 hours to fill the pool.