There are many methods -- elimination, Cramer's rule, matrices with Gauss-Jordan....
Using Cramer's rule is a well-defined process; if you want to solve the problem that way, just do it.
Using Gauss-Jordan elimination is also a well-defined process, but there are multiple possible paths to the solution, and the process is prone to simple arithmetic errors.
Given no instruction on what method to use, I would solve the problem algebraically using elimination.
Since one of the equations involves only two of the three variables, I would solve that equation for one variable in terms of the other and then use substitution to reduce the problem to two equations in two unknowns.
Presumably if you are working on a problem like this you know how to solve a system of two linear equations; so I leave the last part of the work to you.
Then
[1]
and
[2]
Solve [1] and [2] for x and z; then find y from one of the given equations.
This is NOT as COMPLEX as the other "respondents" make it seem!
EASISET/QUICKEST/LEAST TIME-CONSUMING method, as follows:
x - 2y + z = - 3 ------ eq (i)
y + 2z = - 5 ------ eq (ii)
x + y + 3z = - 6 ------ eq (iii)
3y + 2z = - 3 ------ Subtracting eq (i) from eq (iii) ------ eq (iv)
2y = 2 ------- Subtracting eq (ii) from eq (iv)
1 + 2z = - 5 ------- Substituting 1 for y in eq (ii)
2z = - 5 - 1
2z = - 6
x - 2(1) + - 3 = - 3 ------- Substituting 1 for y in eq (ii)
x - 2 - 3 = - 3
x - 5 = - 3