A train traveling at 100 km per hour overtakes a motorbike traveling at a speed of 65 km per hour in 40 seconds. What is the length of the train in meters?