# How to calculate gallons of water in a rectangular tank

Asked by wiki @ in **Mathematics** viewed by 536 People

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?