A box of mangoes and a box of pears are connected by a light string that passes over a frictionless pulley as shown in Figure 2. Both boxes contain 2 kg of mangoes and 4 kg of pears. A 40 N horizontal force is applied to pull the box of mango to the left on a frictionless surface. Determine the tension in the string and the acceleration of the box of pears.