Subtract from both sides of the equation.

Subtract from both sides of the equation.

Factor out of .

Factor out of .

Factor out of .

Divide each term in by .

Cancel the common factor of .

Cancel the common factor.

Divide by .

Simplify .

Move the negative in front of the fraction.

Combine the numerators over the common denominator.

Solve for x ax+b=cx+d