take both the terms separately... sin x/cos^2x + cos x/ sin^2x =now for the first part u take cos x = t and thn for the second part u take sin x = t... and in both cases u have their derivatives in trhe numerator... i hope now u will be able to solve it the answer will be sec x - cosec x rate me if it helps u