Thank you!!integrate both eq.s and u ll get their distances.
s1 = 8t^2 - 2t^3 + c
s2 = t^2 - 10t + k
since u dont have any origin, u assume a point as origin.
lets take initial position ob object 1 for that here.
at time t = 0,
s1 = 0 = 8(0)^2 - 2(0)^3 + c
hence c = 0
(w.r.t. origin i.e. s1) s2 = 32 = (0)^2 - 10(0) + k
hence k = 32
eq we get are
s1 = 8t^2 - 2t^3
s2 = t^2 - 10t + 32
put s2- s1 = 0, simplify and u ll get...
2t^3 - 7t^2 - 10t + 32 = 0
solve the eq (with hit and trial of course) and u'll have t = 2