To draw a position-time graph, we consider the variable time as independent, and the variable position as a dependent, in other words, time is the horizontal axis and position is the vertical axis.
Now we plot the given values.
At last, we unite the points using a line.
So, the position and time graph would be