Kinematics of two bodies in one dimension

The x(t) graphics of the movements of two bodies in one dimension are plotted both as curves and dynamically as a function of time t, up to t=10 seconds. One (labelled 1) is show with a dashed line and the second (labelled 2) with a dotted line. It is possible to choose the initial position, speed and acceleration (constant) of each of the two bodies independently. It is possible to cover a different span of time by changing dt.