The distance between Delhi and Agra is 240 km.
A train starts from Delhi towards Agra.
A bird starts at the same time from Agra straight towards the moving train.
On reaching the train, it instantaneously turns back and returns to Agra.
The bird makes these journeys from Agra to the train and back to Agra continuously till the train reaches Agra.
The bird finally returns to Agra and rests.
Calculate the total distance the bird travels if the bird flies at 100 km per hour and the speed of the train is 60 km per hour.