can anyone tell me how to do this? thanks!

(sin (x) / 1 + cos (x) ) + ( cot (x) / 1 + cos (x) )

you better use cot(x)/1 as sin/cos and go further.Since I can't understand ur mathematical expressions I can't give u the exact answer