Question 1011251
At {{{x=0}}} minutes after takeoff,
the helicopter is taking off,
and is at {{{40-2*0=40-0=40}}} miles from its destination.
So, the distance of the flight is {{{highlight(40)}}} miles.
When the helicopter reaches its destination it is {{{0}}}miles from its destination, at it has been flying to its destination for {{{x}}} minutes,
with {{{40-2x=0}}}--->{{{40=2x}}}--->{{{x=40/2}}}--->{{{x=20}}} .
So the flight takes {{{highlight(20)}}} minutes.