Answer:

Explanation:
Given,
- mass of the first particle =

- velocity of the first particle =

- mass of the second particle =

- velocity of the second particle =

- Time interval =

Let
be the initial velocity of the center of mass of the system of particle at time 

Assuming that the first particle is at origin, distance of the second particle from the origin is 'd'
Center of mass of the system of particles

Hence, at time
, the center of mass of the system is at
at an initial speed of 
Both the particles are assumed to be the point masses, therefore at the time
the center of mass is at the position of the second particle which should be equal to the total distance traveled by the first particle because the second particle is at rest.
Let
be the distance traveled by the center of mass of the system of particles in the time interval 
From the kinematics,

Hence, this is the required distance traveled by the first mass to collide with the second mass which is at rest.