y=ax+by=ax+b

Solving for x. Want to solve for a or solve for b instead?
1
Subtract bb from both sides.
yb=axy-b=ax

2
Divide both sides by aa.
yba=x\frac{y-b}{a}=x

3
Switch sides.
x=ybax=\frac{y-b}{a}

Done

How can we make this solution more helpful?