A worker reaches his factory 3 minutes late if his speed from his house to the factory is 5 km/hr. If he walks at a speed of 6 km/hr., then he reaches the factory 7 mins early. The distance of the factory from his house is