Solve the literal equation for x.
ax + b + a (x+b) = b
ax + b + ax + ab = b subtract b from both sides
2 ax + ab = 0
2 a x = -ab
x = -ab/(2a) = - 1/2 b