Make x the subject of the equation. ax=b(c+x)

ax=b(c+x)

ax = bc + bx
ax - bx = bc
x(a - b) = bc
x = bc/(a - b)