just imagine you go up 10km north and then move 20 km east.displacement is the shortest distance between initial and final points.so obviously you will end up in a right angled triangle having sides 10 and 20.The answer is the value of third side.Apply Pythagoras theorem