Hey there mate!
Please check the attached answer of picture for explanation.
The independent variable is x
y is dependent on the value of x