A travels 12 km towards north and then takes a left turn and covers another 5 km towards west direction. From there, he turns 180° anticlockwise, i.e. will revert his direction and travels 10 km further towards east. Thus, the minimum distance between his initial and final position = √(12)2+(5)2 = √144+25=√169=13km