Answer:

Step-by-step explanation:
As we know that system of two boxes are moving on frictionless surface
So here if two boxes are considered as a system
then we have






Now since we know that both the boxes are moving together so force applied by first box on other box is given as


