We are given the substitution to use, so the first step is to differentiate "u" with respect to x.
du/dx = -sin(x)
Now, to replace the "dx" in the original integrand with something in terms of "du", we rearrange the differential:
dx = -1/sin(x) du
We substitute this into the original expression we are integrating; this gives:
S -12sin(x)cos3(x) (-1/sin(x)) du
Let's do some simplifying here; the negative signs cancel, and so does sin(x):
S 12cos3(x) du
Now, simplify again using u=cos(x); this gives:
S 12u3 du
This is a simple C1-level integration; integrating with respect to "u" and adding a constant of integration, we get:
3u4 + c
For our final answer, replace "u" with cos(x):
3cos4x) + c