Two of the things you should know by heart are that [itex]cos(a+ b)= cos(a)cos(b)- sin(a)sin(b)[/itex] and that [itex]sin(a+ b)= sin(a)cos(b)+ cos(a)sinb)[/itex]
Taking a= b= x gives [itex]cos(2x)= cos^2(x)- sin^2(x)[/itex] and [itex]sin(2x)= 2sin(x)cos(x)[/itex].
Then [itex]cos(3x)= cos(2x+ x)= cos(2x)cos(x)- sin(2x)sin(x)[/itex] and apply the double angles identities to that.
If you are familiar with complex numbers, you can also use Euler's formula. [itex]\text{cos}(3x)[/itex] is the real part of
[itex]\text{e}^{i3x} = (\text{e}^{ix})^3 = (\text{cos}(x) + \text{i} \,\text{sin}(x))^3[/itex]. So if you multiply this out and take the real part, you get your answer without using further identities. This method is very powerful and general but you may not be familiar with complex numbers yet.