This is LaTeX code:

[latex]
\left[ \begin{array}{cc|r}
 1 & -5 & 2 \\ 2 & 3 & 5 \end{array} \right]
[/latex]