This is a geometric series with common ratio and sum . Divide top and bottom of that by and you will have something that you can express in terms of sines.

For the second part (which should have an extra term +2n as shown), take the formula for the first part, replace by and use the formula .