Let the total distance AB be 3s.
Total time interval: t=t1+t2+t3=v1s+v2s+v3s
Given velocity relations: v2=2v1,v3=3v1
Average velocity:
vavg=t3s=v1s+2v1s+3v1s3s
⟹vavg=v11(1+21+31)3=66+3+23v1=1118v1
vavg=1118×11=18 m/s