You should use more brackets to make things clearer but for these questions remember how sec, cosec and cot are the reciprocals of sin, cos and tan respectively and you treat them as powers of -1. As for everything else remember your basic and trigonometric differentiation techniques. As for ln, you follow f'(x)/f(x) and simplify accordingly with your other identities such as tan=sin/cos and the reciprocals.