Let us locate the point A and B at an arbitrary instant of time (Fig.).
If A and B are separated by the distance s at this moment, then the points converge or point A approaches B with velocity -ds/dt =v-u cosα where angle α varies with time.
As both A and B cover the same distance in x-direction during the sought time interval, so the other condition which is required can be obtained by the equation