Question 1
A dependent variable It is something that depends on other factors.
Dependent variables are also known as outcome variables (they represent the outcome you want to measure).
Gallons is the dependent variable because the amount of water in the tank depends on the time taken to fill the tank.
Question 2