It looks like you're supposed to show

We have

In the numerator, we have
, so that the derivative wrt either
or
is simply
. In the denominator, either
or
vanishes.
Differentiating wrt
gives, by the quotient rule,

Similarly, differentiating wrt
gives

Then


as required.