The independent variable (X) affects the dependent variable (Y).
If you measure the effect of tutoring hours (X) on ACT score (Y), tutoring hours is independent variable and the ACT score is the dependent variable.
The independent variable is graphed on the x axis and the dependent variable is graphed on the y axis.