Yes but the question required deriving sin(3x) and cos(3x) by means of de Moivre:
cis3x=cos(3x)+isin(3x)=......=something real + i(something imaginary)
Then equating real and imaginary parts you get the desired identities, then they ask you to "hence" derive tan(3x).
It was simply the messed up forms of sin(3x) and cos(3x) that made it seem impossible.
Yes, it would be a lot easier to either use the binomial theorem or simply tan(2x+x)...