8.5. Indicate the integer closest to the smaller root of the equation

$$
\operatorname{arcctg}\left(\left(\frac{2 x}{7}+\frac{7}{8 x}\right)^{2}\right)-\operatorname{arcctg}\left(\left(\frac{2 x}{7}-\frac{7}{8 x}\right)^{2}\right)=-\frac{\pi}{4}
$$
Solution. The equation is equivalent to $\frac{2 x}{7}=\frac{7}{8 x} \Longleftrightarrow |x|=\frac{7}{4}$.

Answer: -2.