solve the system of equation for all variables using a matrix

2x+y+z=6
-3x-4y+2z=4
x=y-z=-2