Solve the system of linear equations and check any solution algebraically
x+y+z=6
2x-y+z=3
3x -z=0
x+y+z=6
2x-y+z=3
3x -z=0