To calculate the average velocity, we use the formula:
\[
\text{Average velocity} = \frac{\text{Total displacement}}{\text{Total time}}.
\]
From the graph, the total displacement is 20 m and the total time is 10 s. Therefore, the average velocity is:
\[
\frac{20 \, \text{m}}{10 \, \text{s}} = 2 \, \text{m s}^{-1}.
\]