Add to 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 .

Simplify the left side.

Cancel the common factor of .

Cancel the common factor.

Divide by .

Simplify the right side.

Simplify each term.

Move the negative in front of the fraction.

Move the negative in front of the fraction.

Simplify terms.

Combine the numerators over the common denominator.

Rewrite as .

Factor out of .

Factor out of .

Factor out of .

Rewrite as .

Factor out of .

Rewrite as .

Cancel the common factor.

Rewrite the expression.

Solve for x -px+r=-8x-2