How do you find the displacement of a particle that moves along a line?