A local water company charges a flat fee of $5 per month, plus $0.0007 per gallons, and $0.0009 per gallon for every gallon for every gallon in excess of 40,000. What is the water bill for a customer who uses 60,000 gallons of water a month?