Answer:
y=4x+4
Explanation:
using y=mx+b, y is y since we are writing a function. 4 would be the slope, as that is added per minute, so that takes the place of m, and x stays the same, which leaves b, the y intercept, to be 4. this is because the barrel already had 4 gallons inside before.