Use your derivative tools to write the second derivative,
y = csc2(x) – cot2(x)
You could use the quotient rule AND the chain rule...Or you could rewrite y as with exponents and quickly use the Power Rule!
Rewrite y as a piecewise function. The derivative will be a piecewise function as well. So will the second derivative.