Solve for x cos(x)^2-cos(x)=2