Answer:
0.0316 m
Explanation:
Wok done = Energy change
Work done on the spring = Energy change of the block
Elastic Potential stored = Kinetic energy of the block

x = 
x = 
x = 0.0316 m
k = spring constant
m = mass of block
v = velocity of the block
x = compression of spring
That answer is spiral galaxies
Displacement depends upon the path taken as it is a vector.
From your problem above we would have a total displacement of;
Defining +x direction as east and -x direction as west
6east-3west+1east+6east-7west
6-3+1+6-7=3 blocks east or + x-direction
So even though they walked a total of 17 blocks it ends up only being 3 blocks total in +xdirection that was travelled by displacement.
Any questions please ask.