A train has each compartment of mass ‘m′ is accelerating uniformly. The velocity of the engine is V1 and the velocity of the last compartment is V2. Find the velocity of the compartment in the middle when it passes the same mile marker assuming that the compartments are of point sizes.