Answer:
Position of object is defined as the instantaneous location of object while it is moving along the straight line
So if the object is moving along the line then the position is continuously changing along its path or line
Now in order to find the displacement we can use the definition that change in the position of object along the straight line is known as displacement
So we can say

Now distance is defined as the total path length while moving and here it is moving along the straight line so the distance here is same as the displacement of the object
so here distance and displacement are equal while position is not equal