\(x^2-y^2+z^2-t^2-2xz+2yt\)
\(=\left(x^2+z^2-2xz\right)-\left(y^2+t^2-2yt\right)\)
\(=\left(x-z\right)^2-\left(y-t\right)^2\)
\(=\left(x-z-y+t\right)\left(x-z+y-t\right)\)
x2-y2+z2-t2-2xz+2yt
=(x2-2xz+z2)+(-y2+2yt-t2)
=(x2-2xz+z2)-(y2-2yt+t2)
=(x-z)2-(y-t)2
=(x-z-y+t)(x-z+y-t)