The complete length of the path between any two points is called distance. Displacement is the direct length between any two points when measured along the minimum path between them.
Let's draw a diagram:
So, the distance can be calculated as:

And the displacement will be:

Answer:
Her total distance was 10 blocks and her total displacement was 4 blocks