Prove that cos(2∏/7), cos(4∏/7), cos(6∏/7) are the roots of this equation.

Hence prove that cos(2∏/7), cos(4∏/7), cos(6∏/7) are the roots of 8x3+4x2-4x-1

2. Relevant equations

3. The attempt at a solution

I can do the first part, but i have some difficulty in solving the second part. For the second part, I start by letting x= cosθ and try to solve the equation, however, i notice that i couldn't simplify the equation... so it is correct to let x=cosθ? How is the second part related to the first part? Thanks in advance.

Hence prove that cos(2∏/7), cos(4∏/7), cos(6∏/7) are the roots of 8x3+4x2-4x-1

2. Relevant equations

3. The attempt at a solution

I can do the first part, but i have some difficulty in solving the second part. For the second part, I start by letting x= cosθ and try to solve the equation, however, i notice that i couldn't simplify the equation... so it is correct to let x=cosθ? How is the second part related to the first part? Thanks in advance.

Look at the equation cos(4θ)-cos(3θ)=0 and expand the multiple angles in terms of cos(θ). Yes, put x=cos(θ). Then try to factor it.