Are independent variables Y and dependent X
X is the independent variable, and Y is the dependent variable. Y varies in accordance with X: therefore Y is dependent on X.
Y-is independent and X-is dependant. So your right!!1 WAY TO GO!!!