Find all solutions to the equation.
cos2x + 2 cos x + 1 = 0
cos2x + 2 cos x + 1 = 0