How do you find all solutions of the equation in the interval #[0,2pi)# given #2cos^2x-cosx=1#?