A train crosses another train running at the same speed in the opposite direction in 5 seconds. If the speed of the first train is doubled and the speed of the second train is halved, then the time taken by the trains to cross is ________ seconds.
1
6
2
4
3
3
4
5