Question: how to do independent and dependent variables?
Answer: The dependent variable (height) depends on the independent variable (age). 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.