This is LaTeX code:

[latex]
P = \left[ {\begin{array}{*{20}c}
 1 & 2 \\
 1 & 1 \\
\end{array}} \right]
[/latex]