Use complex numbers and geometric series to sum:

$\displaystyle 1 + cos2\theta + cos4\theta +...+ cos(2n-2)\theta $.

I don't really have a clue what to do... any help would be appreciated... thanks. The answer is $\displaystyle \frac{\cos{(n-1)\theta} \sin\: {n\theta}}{\sin{\theta}}$.