Shouldn't it be
Now take the derivative.
Krizalid is correct. but in my experience, logarithmic differentiation is done this way:
take the log of both sides
Now differentiate implicitly.
of course Krizalid's method is equivalent, the difference is, you do not have to differentiate implicitly with his method, explicit differentiation works