Melwin jogs 18 km at a speed of 12 km per hour. At what speed would he need to jog during the next 3 hours to have an average of 18 km per hour for the entire jogging session?