It may be easier to differentiate, if you rewrite the log. Now, it should be easier to find the derivative. Now, put them together.