2cos^2(x)+7cos(x)+4=0
You can apply the quadratic equation to find values of cos(x) that satisfy this.