Distance is the actual path taken by the object.
In this question, the distance moved in the south direction is Y = 3 m
The distance moved in the west direction is x = 4 m
The expression for the distance moved is given as:

Substitute the value in the above equation.

Thus, the distance moved is 7 m.