Julia rides her horse 18 km with a constant speed of 6 km/hr and another 24 km with a constant speed of 12 km/hr. What is her average speed for the total trip?

14 points!