Im strugging through calc I after being away from school for 12 years, so some of the more basic functions are giving me fits. The chain rule makes sense to me, but I'm struggling with some of the more basic applications.

The problem I am trying to solve is ln(x)^cosx

I am just stuck on where to go after step 1, which is the first chain 1/x^cosx. What is the next derivative before the last, which would be -sinx?

Thanks!