TeX source:
\underline{A}_{r}=\left(\begin{array}{rrr|r}1, & 2, & -1& 2\\3, & -1, & 2& 7\\1, & 0, & -1& -2\\2, & 1, & 1& 7\end{array}\right);