While plane is moving under tailwind condition it took time "t"
so here we will have

here net speed of the plane will be given as


similarly when it moves under the condition of headwind its net speed is given as

now time taken to cover the distance is 2 hours more

now solving two equations

solving above for v_w we got
