Let the motion from south to north be taken positive.
Here, velocity of train, (south to north)
velocity of bird, ( north to south)
or, ( south to north)
Relative velocity of the bird with respect to train,
or towards south.
As,
Thus, time taken by bird to cross the train