Please help me am I doing it correctly or no ?

Answer:
no, its the first option
Explanation:
the independent variable (which is the one you deliberately change) always goes on the x-axis)
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).