How to differentiate ln(tanx) using implicit differentiation