My attempt-
Here I believe I have two options.. not sure which one to go with if either..
or
just trying to get it to simplest terms.
just learned it yesterday.. guess this is good practice. only question. why after you took the derivative of the outermost term, did you put * (-2cotx ...)? i understand that you brought the 2 to the front using the power rule.. but wouldn't it stay positive?
EDIT: Nevermind, i understand now. Thank you