x^2-y^2-z^2-2yz-2x+1
=x^2-2x+1-(y^2+z^2+2yz)
=(x-1)^2-(y+z)^2
=[(x-1)+(y+z)][(x-1)-(y+z)]
=(x+y+z-1)(x-y-z-1)