\[\frac{8}{x} = \frac{x}{18}\]
\[x^{2} = 8 \cdot 18\]
\[x^{2} = 144\]
\[x = \pm 12.\]
\[Ответ:\ \ x = 12.\]