a train overtakes two persons who are walking in the same direction to that of the train at 2 kmph and 4 kmph and passes them completely in 9 and 10 seconds respectively . what is the length of the train ?