If a man goes 18 km downstream in 4 hours and returns against the stream in 12 hours, then speed of the stream in km/hr is