x+1 = b/a, so subtract 1 from both sides: x = b/a - 1.
You can ask a new question or answer this question.