Distance measures path length, while displacement is the change in position with direction. Average speed uses distance and average velocity uses displacement, each divided by elapsed time.
How does velocity differ from speed? Velocity includes direction and uses displacement.
What does acceleration measure? The rate of change of velocity.