How to use De Moivre's theorem to solve equations?

enter image source here
Can someone please explain to me how to do question 1a? Thanks!