Solve (x+y)/2=(a+b+x)*z for x