If the rate at which the swimming pool is filling is 1500 gallons per hour, and the pool has already 9000 gallons full, then;
Amount to be filled is 21,000 – 9,000 = 12, 0000
To fill the 12,000 gallons;
12,000/1500 = 8 hours
If the filling of the pool begins at 12.00 AM, then the pool will fill at 8.00 AM