How do you solve cos^2x+6cosx+4=0 in the interval [0,360]?