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.

can you explain thank you