ANSWER:
39.21 km
Explanation:
To determine the answer we track each move just like this:
Coordinates at the start (city A): (0, 0)
Coordinates after going 30 km north: (0, 30)
Coordinates after going 50 km west: (-50, 30)
Southeast is a move down and to the right of 45°, so we calculate at each coordinate, like this:
We calculate the distance between both points as follows:
The distance between both cities is 39.21 km