Algebra 2 (1st Edition)

The error is that the student didn't check whether the solution satisfied the second equation. It in fact doesn't satisfy it because $0+2(-1)-2\ne6$.