Help needed to solve math homework problem

Two trains of equal lengths take 10 seconds and 15 seconds respectively to cross a telegraph post. If the length of each train be 120 metres, in what time will they cross each other travelling in opposite direction?

Thanks