原式=xy(z-1)-x(z-1)-y(z-1)+(z-1)
=(z-1)(xy-x-y+1)
=(x-1)(y-1)(z-1)
其中用到了一个公式:ab+a+b+1=(a+1)(b+1)
ab-a-b+1=(a-1)(b-1)