You show the time on the x-axes (from 0 to 35) and the distance on the y-axes (from 0 to 10).
You start at origin of coordinates. Then the graph rises linear until it reaches the point (20|3.3333...), then it is parallel to the x-axes (as he does not move) until it reaches (25|3.3333...). Then it increases again until it reaches (35|10).
Basically, it's linear all the time, while the slope of the graph varies in three different intervals. (Actually it wouldn't be linear as he doesn't move with the same speed all the time but we can't go more into detail based on the information we have, so we use average values.)
You can use the rule of three to find out how far he moves.