x+2z=3⑴
2x+y=2⑵
2y+z=7⑶
⑴+⑵+⑶=12
则x+y+z=4⑷
⑴+⑵-⑷,得
2x+z=1⑸
解二元一次方程⑴⑸,得
x=-1/3,z=5/3
把x=-1/3代入⑵,得
y=8/3
所以x=-1/3,y=8/3,z=5/3