He travels 3 km west, then 3 km south, then 1 km east, then 3 km north. The 3 km south and 3 km north movements cancel out. His net horizontal movement is 3 km west - 1 km east = 2 km west. The diagram in the source is misleading; the final position is 4km away (3km west + 1km west).