(b) Average velocity is that uniform velocity with which the object will cover the same displacement in same interval of time as it does with its actual variable velocity during that time interval.
Here, total distance covered
$\ \ \ \ \ \ \ \ \ \ = \left( 3\ {ms}^{- 1} \times 20\ s \right) + \left( 4\ {ms}^{- 1} \times 20\ s \right) + \left( 5\ ms^{- 1} \times 20\ s \right)$
$\ \ \ \ \ \ \ \ \ = (60 + 80 + 100) = 240\ m$
$Total\ time\ taken = 20 + 20 + 20 = 60\ s$
$\therefore Average\ velocity = \frac{240}{60} = 4\ ms^{- 1}$