Solve for x:

a(x−b)+bx+c=a, if a≠−b, if a ≠ − b

1 answer

x=
a-c+ab
------------ ; a ≠ − b
a+b

I hope this helps you.