A man can walk uphill at the rate of 212 km/hr and downhill at the rate of 314 km/hr. If the total time required to walk a certain distance up the hill and return to the starting point was 4 hours 36 minutes, then what was the distance he walked up the hill?