This is LaTeX code:

[latex]
x= \left[
\begin{array}{cc}
x_1\\
x_2
\end{array}
 \right]
[/latex]