Farhan cycles the first part of a 150km journey at an average speed of 35km/h and walks the remaining distance at an average speed of 5km/h. If he takes 4.5 hours for his entire journey, find the distance that he cycles.