A train is approaching a platform with a speed of 20 km/hr. A bird is sitting on a pole at the platform. When train is 2 km away from the pole, brakes are applied so that the train decelerates uniformly, simultaneously the bird also flies towards the train with a velocity 60 km/hr. It touches the nearest point on the train and flies back and back again and so on. The total distance travelled by the bird before train stops is