( A ) $\frac{1}{\sqrt {2}} \log | \tan (\frac{x}{2} - \frac{ 3 \pi}{8})| + C$
( B ) $\frac{1}{\sqrt {2}} \log | \tan (\frac{x}{2} + \frac{3 \pi}{8})| + C$
( C ) $\frac{1}{\sqrt {2}} \log | \cot (\frac{x}{2})| + C$
( D ) $\frac{1}{\sqrt {2}} \log | \tan (\frac{x}{2} - \frac{ \pi}{8})| + C$