Total distance = 150 + 210 = 360 mts
Time taken to cross each other when moving in opposite direction = 10.8 sec
Relative speed of trains = (350/10.8) x 18/5 = 3600/30 = 120 kmph
Speed of shorter train = (150/12) x 18/5 = 45 kmph
Hence, speed of longer train = 120 - 45 = 75 kmph.