your rate r is change in amount over the change in time so

so for the bounds on the integral we need to convert from hours into min

2 hr =120 min. You could also change the rate into gal per hr and then just integrate from 0 2 instead of 0 to 120 min.

your final answer should look like