Two particles P and Q move in a straight line AB towards each other. P starts from A with velocity u1, and an acceleration a1, Q starts from B with velocity u2 and acceleration a2.They pass each other at the midpoint of AB and arrive at the other ends of AB with equal velocities