Water is being drained out of a swimming pool at a constant rate if 780 gallons per hour. The pool initially had 45000 gallons of water. A chemical additive must be added to the pool when it has no more than 15000 gallons of water remaining. Write an equation for the amount of water in the pool after h hours.