How can I simplify derivatives in AB Calculus Chapter 3?