The ratio of the speeds of two trains is equal to the ratio of the time they take to pass each other going in the same direction to the time they take to pass each other in the opposite directions. how can you find the ratio of the speeds of the two trains?