start with
using product rule for derivatives,

left side simplifies to

isolate one derivative with

which gives
where ,