Solution
Observe that 2cos4xcosx=cos5x+cos3x by the sum-to-product formulas. Defining a=cos3x and b=cos5x, we have a3+b3=(a+b)3→ab(a+b)=0. But a+b=2cos4xcosx, so we require cosx=0, cos3x=0, cos4x=0, or cos5x=0.
Hence we see by careful analysis of the cases that the solution set is A={150,126,162,198,112.5,157.5} and thus ∑x∈Ax=906.
Solution 2 (complex nuke)
Let z=cos(x)+isin(x). Then, we have that ∣z∣=1, so z=z1. Thus, z1=cos(x)−isin(x), and we have cos(x)=2z+z1. Now, this means we also have
z3=cos(3x)+isin(3x)→z3+z31=2cos(3x)→2z3+z31=cos(3x)
2z5+z51=cos(5x)
Then, we seek the solutions to
81⋅(z3+z31)3+81⋅(z5+z51)3=8⋅641⋅(z+z1)3(z4+z41)3
→(z3+z31)3+(z5+z51)3=(z3+z31+z5+z51)3
Now, if we let a=z3+z31 and we let b=z5+z51, we actually obtain the equation
a3+b3=(a+b)3→ab(a+b)=0
which means we either have
Case 1:z3+z31=0
Case 2:z5+z51=0
Case 3:z3+z31=z5=z51
In Case 1, we have z12=1 but z6=1. Thus, we have that the possibilities for arg[z] are 30∘, 90∘, 150∘, 210∘, 270∘, and 330∘.
In Case 2, we have z20=1 but z10=1. Thus, we have that the set of possible z are 10th roots of unity shifted by 18∘ counterclockwise, so we have
arg[z]∈{18∘,54∘,90∘,126∘,162∘,198∘,…,342∘}
so we obtain 3 values. In case 3, we have
z3+z31=z5+z51→z10+z8+z2+1=0→(z8+1)(z2+1)=0
so either z∈{i,−i} or z is a primitive 8th root of unity shifted by 22.5∘, which gives
arg[z]∈{22.5∘,67.5∘,112.5∘,157.5∘,202.5∘,247.5∘,292.5∘,337.5∘}
The sum of all underlined values is 150+126+162+198+112.5+157.5=906