A man has to go 10 km to catch a bus. He walks part of the way at 7 km/hr and runs the rest of the way at 12 km/hr. If he takes 1 hour 15 minutes to complete his journey, find how far he walked.