Two trains of lengths 300 metres and 500 metres are running at speeds of 90 km/hr and 54 km/hr, respectively. They are running in same direction and the smaller train is 400 metres behind larger train. In how much time will smaller train overtake the larger train?