The function is .
Treat and as constant and differentiate with respect to .
Since and does not have terms, treat them as constant and their derivatives are equal to .
.