Question: what is the dependent variable x or y?
Answer: The independent variable belongs on the x-axis (horizontal line) of the graph and the dependent variable belongs on the y-axis (vertical line).