Two trains of equal length, running in opposite directions, pass a pole in 18 and 12 seconds. The trains will cross other in