(a) Initial energy of body $= \frac{1}{2}mv^{2} = \frac{1}{2} \times 1 \times (20)^{2} = 200\ J$
A part of this energy consumes in doing work against gravitational force and remaining part consumes in doing work against air friction
i.e., $W_{T} = W_{grav.} + W_{air\ friction}$
$\Rightarrow 200 = 1 \times 10 \times 18 + W_{air} \Rightarrow W_{air} = 20\ J$