a girl sitting in a train which is travelling at 100 kmph observes that a goods train travelling in a opposite direction , takes 6 seconds to pass him . if the goods train is 560 m long , find its speed .