\(2\tan^2(x) = 3\tan(x)+1\\ 2\tan^2(x) - 3\tan(x)-1 = 0\\ u = \tan(x)\\ 2u^2 - 3u-1 = 0\\ u = \dfrac{3\pm\sqrt{9+8}}{4} = \dfrac{3\pm \sqrt{17}}{4}\)
\(x = \arctan\left(\dfrac{3+\sqrt{17}}{4}\right),~\arctan\left(\dfrac{3-\sqrt{17}}{4}\right)\\ x \approx 1.05913,~-0.273729\)
.