A rain barrel is full of water and used to water a garden. The rain barrel loses water at the rate of 2.5 gallons of water per minute. After seven minutes, the rain barrel contains 37.5 gallons. How many gallons of water were initially in the rain barrel? Show and explain your work.