A girl sitting in a train which is travelling at 40 kmph observes that a goods train travelling in a opposite direction, takes 12 seconds to pass him. If the goods train is 1120 m long, find its speed. Choose the correct choice from the following options:
A) 295  B) 296  C) 297  D) 298  E) 299

Rationale: relative speed = ( 1120 / 12 ) m / s = ( 1120 / 12 ) * ( 18 / 5 ) = 336 kmph speed of goods train = 336 - 40 = 296 kmph answer is b
Answer: B