\(A=\left(x-y+z\right)^2+\left(z-y\right)^2+2\left(x-y+z\right)\left(y-z\right)=\left(x-y+z\right)\left[\left(x-y+z\right)+2\left(y-z\right)\right]+\left(z-y\right)^2=\left(x-y+z\right)\left[x+y-z\right]+\left(z-y\right)^2\)\(A=x^2-\left(y-z\right)^2+\left(z-y\right)^2=x^2\)