A steady stream of water flows into a partially-filled rectangular tank. After 6 minutes, there are 87 gallons of water in the tank. After 21 minutes, there are 222 gallons. Write an equation to represent the volume of water in the tank y after x minutes. How much water was in the tank to begin?