(i) The forces that the trolleys exert on each other through the couplings are internal forces. The porter's 60 N pull comes from outside the system, so it is the external force.
(ii) Only the external force decides the acceleration of the system, which moves like a single object of mass m1+m2+m3:
a=m1+m2+m3F=30 kg+50 kg+40 kg60 N=120 kg60 N=0.5 ms−2
The trolleys accelerate at 0.5 ms−2 in the direction of the pull.
(iii) Now the system has a mass of 30 kg+50 kg=80 kg:
a=80 kg60 N=0.75 ms−2
With u=0 and t=4 s, using v=u+at:
v=0+0.75 ms−2×4 s=3 ms−1
The acceleration is 0.75 ms−2 and the speed after 4 s is 3 ms−1.