what is the solution to the following system?

5x+2y+z=4
x+2z=4
2x+y-z=-1


A. x = 0, y = 1, z = 2

B. x = 1, y = –1, z = 2

C. x = 1, y = 0, z = –1

D. x = 2, y = 1, z = 0