I FUCKING solved it already. Why do I have to do the dumb shit afterwards that doesn't make sense when I have the answer in actual simple terms desu?

The absolute fucking fairies wanted cos^2(x)(cos(x)-3xsin(x))