We have the following:
We can do the problem in the following way:
First calculating the rate and then we calculate through this rate the amount of time
[tex]\frac{5}{2}=2.5[/tex]The rate is 2.5 gallons per minutes
now,
[tex]t=\frac{10\text{gallons}}{2.5\text{gallons per minute}}=4\min [/tex]Which means it takes about 4 minutes