Two trains of equal lengths take 5 s and 6 s respectively to crossapole. If these trains are moving in the same direction, then how long will they take to cross each other?