How do you differentiate #f(x)=sin(6x+5x^2+1)# using the chain rule?