Factor and simplify please?

#3cos^2(x)+cos(x)-4#

Thank you