Geez, this is a wacko question. Where did you get it?
One way to solve the problem is to treat it as a lumped system. Determine the total moving mass of the system, determine the net force on the system, and from that work out the acceleration of the whole system. Then knowing the acceleration...