Plote a position-time graph of two objects moving in the same direction with unequal velocities

Plote a position-time graph of two objects moving in the same direction with unequal velocities.

O is the time of meeting of two bodies A and B.