Let the speed of the faster train and slower train is x m/sec and y m/sec When running in the same direction (x – y) × 36 = (200 + 160) = 360………….(i) When running in opposite directions (x + y) × 18 = (200 + 160) = 360………….(ii) From (i) and (ii) x = 15, y = 5