yasss
3x+5y=7
6x-1y=-8
so what you do is remove the placeholders ad put them in matrix form
so
![\left[\begin{array}{ccc}3&5|&7\\6&-1|&-8\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/sb7iooxi41ble7nv843wupgy4ms9d52fkw.png)
eliminate one placeholder at a time
remember: first column=x, 2nd column=y, 3rd column=constant
let's eliminate x's
times first row by -2
![\left[\begin{array}{ccc}-6&-10|&-14\\6&-1|&-8\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/folfuk23wfqhyy1imutw7qdkocmx9hn3ur.png)
add that to 2nd row
![\left[\begin{array}{ccc}-6&-10|&-14\\0&-11|&-22\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/f0ljs7d7q6dzy1skifq49p7ploelt3jsjb.png)
divide last row by -11
![\left[\begin{array}{ccc}-6&-10|&-14\\0&1|&2\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/m3brupnxhaq5zljj01aifck1k628rb9hav.png)
eliminate y's now
multiply last row by 10
![\left[\begin{array}{ccc}-6&-10|&-14\\0&10|&20\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/csyq9s7w5dqud8piux608s29ipt6rdmxbq.png)
add 2nd row to first row
![\left[\begin{array}{ccc}-6&0|&6\\0&10|&20\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/11o3rf70lnj9tvxgn0q8ijmx3mbfk9dlu1.png)
divide first row by -6
![\left[\begin{array}{ccc}1&0|&-1\\0&10|&20\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/k0r55e0qf68g03t6poyfx6zc3uwz0wu828.png)
divide last row by 10
![\left[\begin{array}{ccc}1&0|&-1\\0&1|&2\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/4yecg6habrab3j7vpu0p3e6i9jlm1xly3f.png)
![\left[\begin{array}{ccc}x&y|&c\\x&y|&c\end{array}\right]](https://img.qammunity.org/2017/formulas/mathematics/high-school/on1gzqdg58gypsdglzz8l7yckcxe9u6qsz.png)
1x=-1
1y=2
x=-1
y=2
(-1,2)