Step-by-step explanation: To solve for r, start by distributing the p
through the parentheses on the left side to get q = pr + ps.
Next, isolate the r term by subtracting ps from both sides to get -ps + q = pr.
Finally, to get r by itself, divide both sides by p and we have -ps + q/p = r.