we have the equation
Rewrite
Multiply both sides by cosx
Change the variable
u=cosx
substitute
Solve the quadratic equation
using the formula
a=-9
b=21
c=-12
substitute
The values of u are
u=1 and u=4/3
Remember that
u=cosx
For u=1
the interval is [0,360) ----> the value of 360 degrees is not included
cosx=1 ------> the value of x=0 degrees
For u=4/3
cosx=4/3 -------> is not a solution (cosine cannot be greater than 1)
therefore
The solution is x=0 degrees