Dear Student,
Please find below the solution to your problem.
(A)
I=integ. of (1-cos x).dx/cos x.(1+cos x)
I=integ. of (1–1+2sin^2 x/2).dx/cos x.(1+2.cos^2 x/2 -1).
I=integ. of ( tan^2 x/2).dx/ cos x
I= integ.of (tan^2 x/2).(1+tan^2 x/2).dx /(1-tan^2 x/2).
I = integ. of (tan^2 x/2).sec^2 x/2.dx/(1-tan^2 x/2)
Let. p = tan x/2
dp = 1/2.sec^2 x/2.dx
or. 2.dp=sec ^2 x/2.dx.
I = integ.of 2.p^2.dp/(1-p^2)
I = integ.of -2(1-p^2–1).dp/(1-p^2)
I=integ.of -2[ 1. -1/(1-p^2)].dp
I= integ.of [-2 +2. 1/(1-p^2)].dp
I = -2p +2.1/2{log(p+1)-log(1-p)} + C.
I=-2.tan x/2+log(1+tan x/2)-log(1-tan x/2)+C.
(B)

(C)

Thanks and Regards