This is LaTeX code:
[latex]
\begin{bmatrix} 1&1&1&-1&7&|&2\\ 0&2&7&-1&7&|&-2\\ 0&0&5&5&21&|&2\end{bmatrix}
[/latex]