the sample solution is not a solution.
x+2y-z=3 using the sample solution
Thus the sample solution is not a solution.
A set of three independent equations can be solved for three variables. In this case the solution involves fractions, which makes me suspect that the problem is not written correctly.
There is no point in solving this problem until one confirms that it is written correctly.