Solve for x w=1/2(x+y-z)