A particle starts with an initial velocity and passes successively over the two halves of a given distance with constant accelerations a1 and a2 respectively. Show that the final velocity is the same as if the whole distance is covered with a uniform acceleration 2(a1+a2).