Add the first two equations to eliminate z:

Add the third equation, , to this:

Solve for x:

Substitute into the third equation: , or , so

Substitute into the second equation: , so