Answer:
![y=9x+33](https://img.qammunity.org/2021/formulas/mathematics/high-school/n5kvy4s7hrldxvxsrkwngqlynahflcywhy.png)
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:
![\displaystyle m=(y_2-y_1)/(x_2-x_1)=(222-87)/(21-6)=135/15=9](https://img.qammunity.org/2021/formulas/mathematics/high-school/arpztlze1ern3ojfs8go7y2lsqz57eubfu.png)
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:
![y-y_1=m(x-x_1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/ks7lzc9jj3emt3ptrdvrvr0uzhz4c0qyo5.png)
Substitute:
![y-(87)=9(x-(6))](https://img.qammunity.org/2021/formulas/mathematics/high-school/wqc7adfv4zlxxq0iduu8qxsaem31ep21kw.png)
Distribute:
![y-87=9x-54](https://img.qammunity.org/2021/formulas/mathematics/high-school/d2fb5f5w4fdlcjhyacabmn13ivof6vpm1q.png)
Therefore:
![y=9x+33](https://img.qammunity.org/2021/formulas/mathematics/high-school/n5kvy4s7hrldxvxsrkwngqlynahflcywhy.png)
So, there were 33 gallons of water in the tank to begin with.