Our instructor had given us an equation and we should get the derivative of it. But even him, he is confused what to do (funny college instructor) if we should use identities before deriving or either derive it early. Here is the equation:
$$y = \sin^2(3x)$$.
Since the answer of two ways are different. What should be the correct way?
You get $y' = 6 \sin(3x) \cos(3x)$ as result using chain rule and product rule. And if you derive that equation on two ways, you will always get the same result since the function is differentiable on $\mathbb R$. If your instructor says something else he is simply wrong.