cos2(x)(sec2(x)-sec(x))=2cos2(x),
1-cos(x)=2cos2(x),
2cos2(x)+cos(x)-1=0 is a quadratic equation.
2cos2(x)+cos(x)-1=(2cos(x)-1)(cos(x)+1)=0.
Therefore cos(x)=½ or cos(x)=-1.
x=π/3+2πn or 5π/3+2πn, where n is an integer (positive or negative); or:
x=(2n+1)π (odd multiples of π, including negative multiples).