Position and acceleration in rectilinear motion