with respect to x

f(cos x) if f'(x)= 1/x
find (f(cos x))'

i got tan x sec x

this is wrong.

please explain. thank you

if f'(x) = 1/x

f(cos x)' = 1/cosx * -sinx = -tanx