Solve the equation by using matrix

3x-y+z=5
2x-2y+3=7
X+y-z=-1

(3/2, 5/2, 3)