Step 1: Check the polynomial part
The term outside the logarithm comes from the constant $\cos a$ in the split, so it must be $x\cos a$. This rules out options C and D.
Step 2: Check the logarithm part
With $\cot\frac{a}{2}=k$, $\int\frac{2\,dt}{(1+\cos a)(k^{2}-t^{2})}$ gives $\frac{1}{2k}\log\left|\frac{k+t}{k-t}\right|$ times a positive constant, so the plus sign is in the numerator.
Step 3: Conclude
This rules out option B and leaves option A.
Final Answer:
The correct result is the first option.
\[ \boxed{\text{(A) }\sin a\log \left|\dfrac{\cot \frac{a}{2}+\tan \frac{x}{2}}{\cot \frac{a}{2}-\tan \frac{x}{2}}\right|+x\cos a+c} \]