Distance is the total length of an object's path. Displacement is the overall change in position, ie. how far an object is from its initial position.
The court is 30 m long, so a path going back and forth once is 60 m long. Going along this path 6 times totals 360 m.
The end point is the same as the starting point, so the displacement is 0 m.