Question: how do you know what the dependent and independent variables are?
Answer: An easy way to think of independent and dependent variables is, when you're conducting an experiment, the independent variable is what you change, and the dependent variable is what changes because of that. You can also think of the independent variable as the cause and the dependent variable as the effect.