Solve for z A=x-y+z