Newton’s third law states that for a force applied by an object A on object B, object B exerts back an equal force in magnitude, but opposite in direction. This idea was used by Newton to derive the law of conservation of momentum.
Consider two colliding particles A and B whose masses are m1 and m2 with initial and final velocities as u1 and v1 of A and u2 and v2 of B. The time of contact between two particles is given as t.