The augmented matrix is
![\left[\begin{array}ccc2&3&-1&14\\1&2&1&4\\5&9&2&7\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/g6lllaqmdgmaxanl43rzeln2r62w9psrpf.png)
Swap the first rows:
![\left[\begin{array}ccc1&2&1&4\\2&3&-1&14\\5&9&2&7\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/h7tx5b0xeiob3gxjq2m9buc5kgqq90oomk.png)
Add -2(row 1) to row 2, and add -5(row 1) to row 3:
![\left[\begin{array}ccc1&2&1&4\\0&-1&-3&6\\0&-1&-3&-13\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/rz1vjdpz862zm3gdqef4u2ztjj98s7lkxj.png)
Multiply through row 2 by -1:
![\left[\begin{array}c1&2&1&4\\0&1&3&-6\\0&-1&-3&-13\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/8f00o1jve3tvf99kjp07zhi02yhlabcwo0.png)
Add row 2 to row 3:
![\left[\begin{array}ccc1&2&1&4\\0&1&3&-6\\0&0&0&-19\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/155sv9f53ld7adbp4r3sltiiy4rarj9moe.png)
Multiply through row 3 by -1/19:
![\left[\begin{array}ccc1&2&1&4\\0&1&3&-6\\0&0&0&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/oajsx8ue03ope78ziuztyec0fbj8sxlhrb.png)
Add -4(row 3) to row 1, and add 6(row 3) to row 2:
![\left[\begin{array}ccc1&2&1&0\\0&1&3&0\\0&0&0&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/yoavfvf5vkfcuyaoxh8rr6ygor0merhjtt.png)
Add -2(row 2) to row 1:
![\left[\begin{array}c1&0&-5&0\\0&1&3&0\\0&0&0&1\end{array}\right]](https://img.qammunity.org/2020/formulas/mathematics/college/ca5zbwxa5enr93vwpc2b99udla9isftti9.png)