This is done by using the speed of the airplane and the speed and direction of the wind to determine what the compass heading of the aircraft must be.
(This; is done; ) (the compass; heading; of the aircraft)
This the compass
is done heading
of the aircraft