if a man walks at a rate of 5 kmph , he misses a train by 7 minutes . however , if he walks at the rate of 6 kmph , he reaches the station 5 minutes before the arrival of the train . find the distance covered by him to reach the station .