Answer:

33 gallons of water to begin with.
Explanation:
So, we are essentially given two coordinates: (6,87) and (21,222). To find an equation, we will need to find the slope and y-intercept. We know it's a linear equation because it's a steady stream, meaning a constant slope.
Using the slope formula, the slope is:

So, the rate at which the stream flows is 9 gallons per minute.
Now, let's find the initial amount of water. To do this, we can use point-slope form. Pick either of the two points. I'm going to use (6,87).
Point-slope form is given by:

Substitute:

Distribute:

Therefore:

So, there were 33 gallons of water in the tank to begin with.