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