a)
To determine the average speed we need to determine the time the person travels and the distance. Since we need the average speed in km/h we need to convert all the times given into hours, let's do this:
Now, that we have the time in each interval of the motion we can determine the distance is travel in each of them:
This means that the total distance the person traveled is 56.8 km (we use three significant figures as shown in the problem).
Once we know this we need to find the time it takes to make this, from our previos discussion and adding the 40 minutes the person took to eat we have that the total time was 1.7 h, then the average speed is:
Therefore, the average speed on the trip was 33.4 km/h
b)
From point a we know that the distance was 56.8 km