A 8000 kg engine pulls a train of 5 wagaons each of 2000 kg

A 8000 kg engine pulls a train of 5 wagaons each of 2000 kg along a horizontal track. If the engine

Net accelerating force,F=Force due to engine- Frictional force=40000-5000=35000 N
The acceleration of train,a=F/M=35000/18000=35/18=1.87 ms-2
friction force on the four wagons=8000/18000 * 5000=20000/9 N
Let the required force be F’.
F’-20000/9=(800)(35/18)
or F’= (14000+20000)/9=34000/9=3777.77 N