How to differentiate y=ln(tanx), Chain Rule version