Given equations
x – y + z = 4
2x + y – 3z = 0
x + y + z = 2
We can write this system of equations as AX = B where

= 1(1 + 3) - (- 1) (2 + 3) + 1 (2 - 1) = 4 + 5 + 1 = 10
∴ A–1 exists.
A11 = 4, A12 = –5, A13 = 1
A21 = 2, A22 = 0, A23 = –2
A31 = 2, A32 = 5, A33 = 3

The required solution is
∴ x = 2, y = - 1, z = 1