The correct option is D 26 m
In order to calculate distance, we need to calculate displacement from the position time function of the particle. When a particle moves without changing its direction of motion, distance travelled is equal to the magnitude of displacement.
Using this we will calculate if particle has changed its direction in the time interval 0 to 5 s and correspondingly calculate the distance from the displacement.
In order to check for direction of motion, velocity is considered.
Velocity is positive before t=3 s and negative after that.
Distance (t=0 to t=5 s)
=|Displacement(t=0 to t=3s)|+|Displacement(t=3 s to t=5 s)|