Distance is length of a path traveled by an object.
Displacement is change of position of an object.
Example
A person walks from A to D through B and C as diagram below,

Determine:
A. Distance and displacement of the person
Distance travelled by the person is
Displacement of the person is
B. Average speed and average velocity of the person