For the nose of the train to cross from one side of the bridge to the other takes 500m. But then the nose must travel another 100m to get every bit of the train off of the bridge. So from the time the nose enters onto the bridge, it must travel another 600m.