their positions and direction of motion are shown in the figure.The relative velocity is given by: