Given that, the distances travelled by the body are in ratio 1:2.
Let us suppose that s is the distance, the body travels with speed v1.
Then, 2s will be the distance travelled by the body with speed v2.
This scenario is shown in the line-diagram below
For A to C,
Average speed = Total time taken Total distance travelled vavg =t1+t2s1+s2=v1s+v22ss+2s =s[v11+v22]3s=[v1v2v2+2v1]3=v2+2v13v1v2