Final Answer:
The correct solution to the given system of equations is x = 1, y = -2, z = 3 (Option B).
Step-by-step explanation:
The system of equations can be represented in matrix form as follows:
3x + y + z = 5
x + 2y + z = 0
2x - y - 2z = -5
In matrix form, AX=B, where:
A = [3 1 1; 1 2 1; 2 -1 -2]
X = [x; y; z]
B = [5; 0; -5]
Solving the matrix equation AX=B gives the solution X = [1; -2; 3], which corresponds to x = 1, y = -2, z = 3. Therefore, Option B is the correct solution.