Trigonometry Equations. Solve for $0 \leq X \leq 360$, giving solutions correct to the nearest minute where necessary,
a) $\cos^2 A -8\sin A \cos A +3=0$
Can someone please explain how to solve this, ive tried myself and no luck. Thanks!

$$\frac{1+\cos2A}2-4(\sin2A)+3=0$$
$$\implies \cos2A-8\sin2A+7=0$$
Putting $1=r\cos B,8=r\sin B $ where $r>0$
Squaring we get $r^2=8^2+1^2=65\implies r=\sqrt{65}$  and $\cos B=\frac1{\sqrt{65}}$
So, $\cos2A-8\sin2A=r(\cos 2A\cos B-\sin2A\sin B)=\sqrt{65}\cos(2A+\arccos \frac1{\sqrt{65}})$
$\implies \cos(2A+\arccos \frac1{\sqrt{65}})=-\frac7{\sqrt{65}} $
$\implies 2A+\arccos \frac1{\sqrt{65}}=2n\pi\pm \arccos(\frac{-7}{\sqrt{65}})$ where $n$ is any integer
Taking '+' sign, $2A=2n\pi+(\arccos \frac{-7}{\sqrt{65}}-\arccos \frac1{\sqrt{65}})$
$=2n\pi+\arccos\left(\frac{1(-7)+8\cdot4}{65}\right)$ (Using $\arccos x-\arccos y=\arccos\left(xy+\sqrt{(1-x^2)(1-y^2)}\right) $)
$\implies 2A=2n\pi+\arccos\frac{25}{65}=2n\pi+\arccos\frac5{13}$
So, $A=n\pi+\frac12\arccos\frac5{13}$
If $\frac12\arccos\frac5{13}=C, \cos 2C=\frac5{13}\implies 2\cos^2C-1=\frac5{13}\implies \cos C=\pm\frac3{\sqrt{13}}$
$\implies C=\arccos(\pm \frac3{\sqrt{13}})$
$\implies A=n\pi+\arccos(\pm \frac3{\sqrt{13}})$
$\implies \cos A=\pm \frac3{\sqrt{13}}$ and $\sin A=\pm\sqrt{1-\cos^2A}=\pm\frac2{\sqrt{13}}$
Observe that $(\cos A,\sin A)=\pm(\frac3{\sqrt{13}},\frac2{\sqrt{13}})$ satisfies the given eqaution
Similarly, for the '-' sign
