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