If \[ 3\sin^{-1}\left(\frac{2x}{1+x^2}\right) - 4\cos^{-1}\left(\frac{1-x^2}{1+x^2}\right) + 2\tan^{-1}\left(\frac{2x}{1-x^2}\right) = \frac{\pi}{3}, \] then the value of \[ x = \, ? \]