a(x_b)=y(b+a),make b the subject

a(x-b) = y(b+a)

ax - ab = yb + ya
ax - ay = yb + ab
now finish it off