Let $$\alpha \in\left(0, \frac{\pi}{2}\right)$$ be fixed. If the integral $$\int \frac{\tan x+\tan \alpha}{\tan x-\tan \alpha} \mathrm{d} x=\mathrm{A}(x) \cos 2 \alpha+\mathrm{B}(x) \sin 2 \alpha+\mathrm{c},$$ (where $$\mathrm{c}$$ is a constant of integration), then functions $$\mathrm{A}(x)$$ and $$\mathrm{B}(x)$$ are respectively
$$\int \frac{x+1}{x\left(1+x \mathrm{e}^x\right)^2} \mathrm{~d} x=$$
$$\int \frac{\mathrm{e}^{\tan ^{-1} x}}{1+x^2}\left[\left(\sec ^{-1} \sqrt{1+x^2}\right)^2+\cos ^{-1}\left(\frac{1-x^2}{1+x^2}\right)\right] \mathrm{d} x, x > 0=$$
If $$ I=\int \frac{\sin x+\sin ^3 x}{\cos 2 x} d x=P \cos x+Q \log \left|\frac{\sqrt{2} \cos x-1}{\sqrt{2} \cos x+1}\right| $$ (where $$c$$ is a constant of integration), then values of $$\mathrm{P}$$ and $$\mathrm{Q}$$ are respectively