\(cosx+cos\left(x+\frac{\pi}{5}\right)+cos\left(x+\frac{9\pi}{5}\right)+cos\left(x+\frac{2\pi}{5}\right)+cos\left(x+\frac{8\pi}{5}\right)+...+cos\left(x+\frac{5\pi}{5}\right)\)
\(=cosx-2cosx.cos\frac{4\pi}{5}-2cosx.cos\frac{3\pi}{5}-2cosx.cos\frac{2\pi}{5}-2cosx.cos\frac{\pi}{5}-cosx\)
\(=-2cosx\left(cos\frac{\pi}{5}+cos\frac{4\pi}{5}+cos\frac{2\pi}{5}+cos\frac{3\pi}{5}\right)\)
\(=-2cosx\left(2cos\frac{\pi}{2}.cos\frac{3\pi}{10}+2cos\frac{\pi}{2}cos\frac{\pi}{10}\right)\)
\(=0\) (do \(cos\frac{\pi}{2}=0\))