Hello

The question is solve on the interval

using the identity

I get:

I can't factor that, so I completed the square and got.

It looks like that will give me the solutions, but I've never completed the square on a trigonometric function before and just wanted to check that it's the right way to proceed.

Thank you.