Subtract from both sides of the equation.
Factor out of .
Factor out of .
Factor out of .
Factor out of .
Factor out of .
Divide each term in by .
Simplify the left side.
Cancel the common factor of .
Cancel the common factor.
Divide by .
Solve for x ax+3x=bx+5