Find the distance covered by the train

Find the distance covered by the train.