Assuming that the second equation is x+y-2z=5, solve for x to get x = 5-y+2z.
Substitute for x in the other two equations to obtain:
-2(5-y+2z)-3y+2z=6 and 7(5-y+2z)+8y-6z=31
Simplify to get the system: -y -2z = 16
y+8z = -4
Adding the equations, we have 6z = 12. So, z = 2
Since z = 2 and y+8z = -4, we get y+16 = -4 So, y = -20
Finally, since z = 2, y = -20 and x = 5-y+2z, we get x = 5+20+4 = 29
Solution: x = 29, y = -20, z = 2.
Arturo O.
09/25/16