Each train carried 64141 kg of flour and each truck carried 9163 kg of flour.
Explanation:
Let the no. of kg of flour carried by each train be 'a'
Let the no. of kg of flour carried by each truck be 'b'
Total flour = 403172 kg
No. Of trains = 5
No. of trucks = 9
a = 7(b)
5a + 9b = 403172
5(7b) + 9b = 403172
35b + 9b = 403172
44b = 403172
b = 403172/44
b = 9163
Each truck carried 9163 kg of flour.
a = 7b
a = 7(9163)
a = 64141
Each train carried 64141 kg of flour.