Train A crosses train B, which is stationary, in 90 seconds. After a few minutes, train B travels at a uniform speed and crosses train C, running at twice the speed in the opposite direction, in 30 seconds. If the trains are of equal length, what is the ratio of their speeds?