Rewrite the equation as .

Multiply both sides of the equation by .

Remove parentheses.

Multiply by .

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 .

Solve for p f=(pq+pr)/s