First, combine like terms on the right hand side:
Then we rearrange the equation so that all the terms with in it are on one side, and the rest ( terms and constants) are on the other side. So now we have
Since we want to get b on its own, we divide by .
Thus
Hope that helped!