A passenger train of length 60m travels at a speed of 80 km/hr. Another freight train of length 120m travels at a speed of 30 km/hr.The ratio of times taken by the passenger train to completely cross the freight train when: (i) they are moving in the same direction, and (ii) in the opposite directions is