\(\mathrm{cosec}\,6x\cot 3x=\frac{1}{\sin 6x\tan 3x}=\frac12\mathrm{cosec}^2(3x)\) (using part (b))
\(\int_{\pi/18}^{\pi/9}\mathrm{cosec}\,6x\cot 3x\,\mathrm{d}x=-\frac16[\cot(3x)]_{\pi/18}^{\pi/9}\) (using part (a))
\(=-\frac16\left(\cot\frac\pi3-\cot\frac\pi6\right)=\frac{1}{3\sqrt3}\)