The function is .
Simplify the function.
Apply derivative on each side with respect to .
Sum and difference rule of derivatives :.
Power rule of derivatives: