Solve the third equation for <em>z</em> in terms of <em>x</em> :
2<em>x</em> + 2<em>z</em> = 4
<em>x</em> + <em>z</em> = 2
<em>z</em> = 2 - <em>x</em>
<em />
Substitute this into the other two equations and simplify, then solve for <em>x</em> and <em>y</em> :
-<em>x</em> - <em>y</em> - <em>z</em> = -8
<em>x</em> + <em>y</em> + <em>z</em> = 8
<em>x</em> + <em>y</em> + (2 - <em>x</em>) = 8
<em>y</em> + 2 = 8
<em>y</em> = 6
-4<em>x</em> + 4<em>y</em> + 5<em>z</em> = 7
-4<em>x</em> + 4•6 + 5 (2 - <em>x</em>) = 7
-4<em>x</em> + 24 + 10 - 5<em>x</em> = 7
-9<em>x</em> + 34 = 7
-9<em>x</em> = -27
<em>x</em> = 3
Solve for <em>z</em> :
<em>z</em> = 2 - 3
<em>z</em> = -1