distance of 12 km was walked at a speed of 4 km/h on the way, and 6 km/h on the way back.What was the average speed?

24km/(3+2)hrs = 24/5 km/hr