This is a screenshot for the software 1D Relative Motion. Study relative motion with the help of this simulation.