Step-by-step explanation:
It is given that,
The distance covered by a body along the x-axis is given by :

t is in seconds and x is meters
Speed of the body is given by :

At t = 0,

At t = 2 s,

So, the average speed in a time interval from t= 0s and t=2s is 45 m/s.