Translating the words into formula, we have
[tex]r = \dfrac{p}{w}[/tex]
In fact, we have that the pay rate is the total payment divided by the number of hours worked.
We can solve this formula for w in two steps: starting from the formula above, multiply both sides by w:
[tex]rw = p[/tex]
And then divide both sides by r:
[tex]w = \dfrac{p}{r}[/tex]