Two trucks of mass
M each are moving in opposite direction on adjacent parallel tracks with same velocity
u. One is carrying potatoes and other is carrying onions, a bag of potatoes has a mass
m1 and bag of onions has mass
m2 (included in the mass of truck
M). When trucks get close to each other while passing, the drivers exchange a bag with the other one by throwing the other one. Find the final velocities of the trucks after exchange of the bags.