If Andrew were to rest, he would not be moving (walking). During such a period, the beginning distance would be the same as the ending distance.
In this graph there are two such time intervals: BC and DE. Notice how the graph is 'flat' on each; this 'flat' graph indicates a speed of zero.