I have some problems with a differential - don't now what is correct...

Start with .

If I want to use the implicit function theorem to differentiate get I define

and partially differentiate H: Are the following differentials correct?

or is the first one wrong??? Should it be instead

Or completely different??? Because then I can use the implicit function theorem to get

or

What is correct???