Answer:

Explanation:
Step 1: Put all terms with the variable x in the same side of the equation (-px and -8x):
In order to do this, we have to move the -8x from the right side to the left side of the equation, changing its sign. The other term without variable x (r) must be moved to the right side, applying the same rule (changing its sign)

Step 2: Factorise both sides of the equation, taking out the common terms:
In the left side, the common term is the variable x; and the common term in the right side is the minus sign:

Step 3: Finally, isolate x:
