How do you find the derivative of #y = cos^3(3x+1)#?