For a)

Assume we have

Take natural logs of both sides:

Now you can use implicit differentiation on both sides.

Edit: For you, things aren't *quite* as simple - but using a simple substitution will help put things into a similar form.

For b)

Tidy up with your exponent laws.