The correct option is B 6m/s
In time t1=5 s, object travels a distance s1=20 m and in another time t2=5 s, object travels a distance s2=40 m
Total distance travelled =s1+s2=20+40=60 m and
total time taken =t1+t2=5+5=10 s
We know average speed=total distancetotal time=6010=6 ms−1