Glasser's Master Theorem States that if a function $\phi(x)$ can be written as $$|a|x-\sum_{n=1}^N\frac{|\alpha_n|}{x-\beta_n}\tag{1}$$for a constant $a$ and sequences $\alpha_n$ and $\beta_n$ that are defined on the integers between $1$ and $N$, then we have that $$\int_{-\infty}^\infty F(x)dx=\int_{-\infty}^\infty F(\phi(x))dx$$Where the LHS exists and its integrand is integrable. This theorem is used to prove that $$\int_0^\infty \text{sech}^2(x+\tan x)dx=2$$ (given in the MIT integration Bee, see here) which means that $x+\tan x$ can be written in the form of $(1)$. But what would $a,\alpha_n,\beta_n$ and $N$ be? I tried using the taylor series expansion of $\tan x$ but its coefficient is a monster, and the sum is infinite.
This is NOT a duplicate to the second link since I am wondering how $x+\tan x$ can be written in the form of $(1)$.