This is homework so if there is another example that can illustrate the technique I would happily accept that as guidance. The only thing I have been able to find is a question asking about $\cos(2\pi/7)$, which I think is a much harder problem.
I dont have the faintest idea how to solve this and the textbook (Hungerford) doesn't have any examples at all. Ive tried looking for resources online but havent found any that I was able to understand.
So can anyone show me how to solve these types of problems? Thanks a bunch.