My professor showed us how to solve $\cos(\theta - X)$ where $\cos(\theta) = \frac{3}{5}$ and is in Quadrant IV, and $\tan(X) = -\sqrt{3}$ and is in Quadrant II.
Since, $\cos(A-B) = \cos(A)\cos(B)+\sin(A)\sin(B)$, he solved it by doing: $$\frac{3}{5} \cdot \frac{-1}{2} + \frac{-4}{5} \cdot \frac{\sqrt{3}}{2}$$ $$\frac{-3-4\sqrt{3}}{10}$$
My question is, how did he get the values for, $\cos(A)$, $\cos(B)$, $\sin(A)$, and $\sin(B)$ in this equation?
You have definitely seen trig identities such as $$\sin ^2x +\cos^2 x =1$$ And $$\sec ^2x=1+\tan ^2 x$$
Well you need to apply the identities to get the unknown parts from the given information.