First we find out the height up to which body will reach in the absence of air,
using conservation of energy,
1/2 mu2= mgh
h = u2/2g = 20 m
In the presence of air it was raised up to 18 m. So (20 m-18 m=2 m) distance difference is due to air-drag. Hence the work done by air-drag is,
=mgh=1 x 10 x 2=20 J