You need to write the equation in terms of `sin x` , hence, you need to write `cos 2x` in terms of sin x, using the following double angle identity, such that:

`cos 2x = 1 - 2sin^2 x`

Replacing `1 - 2sin^2 x` for `cos 2x` yields:

`2sin^3 x - (1 - 2sin^2 x) - sin x = 0`

`2sin^3 x - 1 + 2sin^2 x - sin x = 0`

You need to group the terms such that:

`(2sin^3 x + 2sin^2 x) - (1 + sin x) = 0`

Factoring out `2 sin^2 x` in the first group yields:

`2 sin^2 x(sin x + 1) - (sin x + 1) = 0`

Factoring out `sin x + 1 ` yields:

`(sin x + 1)(2 sin^2 x - 1) = 0`

Using the zero product rule, yields:

`sin x + 1 = 0 => sin x = -1 => x = (3pi)/2 `

`2 sin^2 x - 1 = 0 => sin^2 x = 1/2 => sin x = +-sqrt2/2`

`sin x = sqrt 2/2 => x = pi/4 or x = pi - pi/4 => x = (3pi)/4`

`sin x = -sqrt 2/2 => x = pi + pi/4 => x = (5pi)/4 or x = 2pi - pi/4 => x = (7pi)/4`

**Hence, evaluating the solutions to the given equation, in `[0,2pi]` , yields **`x = pi/4, x = (3pi)/4,x = (5pi)/4 ,x = (3pi)/2, x = (7pi)/4.`

Use the double angle theorem for the second term, so all the terms have sin:

`2sin^3(x) - (1 - 2sin^2(x)) - sinx = 0`

Simplify:

`2sin^3(x) + 2sin^2(x) - sinx - 1 = 0`

Replace sin(x) with an arbitrary variable, let's say "g" for greenbel:

`2g^3 + 2g^2 - g - 1 = 0`

Now we have an equation that is easier to simplify by using factoring:

`2g^2(g+1) - (g+1) = 0`

Factor again:

`(g+1)(2g^2 - 1) = 0`

Now:

`g+1 = 0 `

`(2g^2 - 1) = 0`

Remember that g = sinx. Replace and isolate x.

`sinx = -1`

` ` `sin^2(x) = 1/2`

Solve:

`x = 270`

``(for the second part square root both sides)

`sinx =sqrt(2)/2`

` ` `x = 45`

Answer:

The two roots are 270 and 45 degrees.