(3) is the correct answer.
Because:
(x-2y+z)
2
=x
2
+4y
2
+z
2
-4xy-4yz+2xz