The function is .
Apply derivate on each side with respect to .
Apply power rule of differentiation: .
Apply formula:.
.