This is one approach. I don't pretend it's the nicest.
Let $u = \tan\alpha$. Then
$$
\tan2\alpha = \frac{2u}{1-u^2}
$$
$$
\tan3\alpha = \frac{u(3-u^2)}{1-3u^2}
$$
Since $\tan3\alpha = 2\tan2\alpha$, we have
$$
\frac{4u}{1-u^2} = \frac{u(3-u^2)}{1-3u^2}
$$
$$
(1-u^2)(3-u^2) = 4(1-3u^2)
$$
$$
3-4u^2+u^4 = 4-12u^2
$$
$$
1-u^4 = 8u^2
$$
Now let $y = BE$. By similar triangles, we have
$$
\frac{3}{y} = \frac{\sqrt{9+y^2}}{x} = \tan2\alpha = \frac{2u}{1-u^2}
$$
Square all terms to obtain
$$
\frac{9}{y^2} = \frac{9+y^2}{x^2} = \left(\frac{2u}{1-u^2}\right)^2
= \frac{4u^2}{1-2u^2+u^4}
$$
Observe that the outer pair of the equality above gives us
$$
\frac{9+y^2}{y^2} = \frac{9}{y^2}+1 = 1+\frac{4u^2}{1-2u^2+u^4}
= \frac{1+2u^2+u^4}{1-2u^2+u^4}
= \left(\frac{1+u^2}{1-u^2}\right)^2
$$
Multiplying both ends by $\frac{x^2}{9+y^2} \cdot \frac{y^2}{9} = \left(\frac{1-u^2}{2u}\right)^2\left(\frac{1-u^2}{2u}\right)^2$ yields
\begin{align}
\frac{x^2}{9} & = \left(\frac{1+u^2}{2u}\right)^2
\left(\frac{1-u^2}{2u}\right)^2 \\
& = \left(\frac{1-u^4}{4u^2}\right)^2 \\
& = \left(\frac{8u^2}{4u^2}\right)^2
\qquad \longleftarrow 1-u^4 = 8u^2 \\
& = 2^2 = 4
\end{align}
So $x^2 = 36$ and $x = 6$.
Neat question. One almost feels as though the simple and straightforward answer must be obtainable with a correspondingly simple and straightforward approach. Thus far, though, I haven't seen it. Anybody?