Two trains start simultaneously from Kanpur and Agra towards each other with speeds of 70 km/hr and 90 km/hr respectively. When they met each other it was observed that one of them had covered 350 km more than the other. Find distance between Kanpur and Agra ?