Suppose a is a real number such that the equation
a⋅(2cosx+1)=2cos(2x)−4cosx−1
has more than one solution in the interval (0,π). The set of all such a can be written in the form
(p,q)∪(q,r),
where p,q,r are real numbers with p<q<r. What is p+q+r?
-10
-8
-6
-4
-2