$$\sum_{k=0}^n \cos(\alpha+k\theta)= \cos\left(\alpha+\left({n\theta\over2}\right)\right)*{\sin\left({(n+1)*\theta\over2}\right) \over \sin({\theta\over2})}$$
I have worked the left summation out to a couple of terms but I am not seeing how they are going to come together to get the right side. I wish I was better at writing on this site so I could show exactly what I have written. I also have to prove the summation of the sine but if I can figure out the cosine one above the sine should fall from that.
Sorry for the notation. I copied and pasted exactly like it said to do.