A train overtakes two persons walking along a railway track. The first one walks at 5.4 km/h. The other one walks at 10.8 km/h. The train needs 5.1 and 6.8 seconds respectively to overtake them. What is the speed of the train if both the persons are walking in the same direction as the train?
A36 km/h
B34 km/h
C18 km/h
D27 km/h