Solve by Factoring 2cos(x)^2+cos(x)-1=0