Let \(a \in \left(0, \frac{\pi}{2}\right)\) be fixed. If the integral \(\int \frac{\tan x + \tan \alpha}{\tan x - \tan \alpha}\,dx = A(x)\cos 2\alpha + B(x)\sin 2\alpha + C\), where C is a constant of integration, then the functions A(x) and B(x) are respectively :