These are Chain Rule derivatives that have several sub-derivatives you need to do. You must follow the Derivative Hierarchy to solve it

Process

  1. Apply every rule
  2. Factor out
  3. Simplify
  4. Factor again