Problem: Differentiate function

Problem

Solution