Find the values of $R$ and $\alpha$ in the identities below, given that $R>0$ and $\alpha$ is an acute angle.
$$\sqrt{3}\cos{\theta}-\sin{\theta}=R\cos(\theta+\alpha)$$
I'm a bit confused by this task.
How should I start? I have $$ \cos(a+b) = \cos(a)\cos(b)-\sin(a)\sin(b). $$
If I square anything, I can use the trig identity $$ \sin^2(x) + \cos^2(x) =1. $$