Let time interval between passing through another common point is Δt. Let first particle reaches there at time t and second particle at t+Δt. Let the common point has coordinate (x, y).
For 1st particle
x=u1t.......(i)
y=v1t−12gt2........(ii)
For 2nd particle
x=u2(t+Δ t).......(iii)
y=v2(t+Δ t)−12g(t+tΔ+)2..........(iv)
From (i) & (iii)
t=u2Δ tu1−u2
From (ii) and (iv)
v1t−12gt2=v2(t+Δ t)−12g(t+Δ t)2
Substituting the value of t
v1u2Δ tu1−u2−12g(u2Δ tu1−u2)2=v2(u2Δ tu1−u2+Δ t)−12g(u2Δ tu1−u2+Δ t)2
v1u2Δ tu1−u2−12g(u2Δ t)2(u1−u2)2=v2(u2Δ tu1−u2+Δ t)−12g(u1Δ t)2(u1−u2)2
⟹Δ t=2g∣∣v1u2−v2u1u1+u2∣∣=210∣∣v1u2−v2u1u1+u2∣∣=15∣∣v1u2−v2u1u1+u2∣∣.
Thus, n=5.