p varies directly as q and inversely as r. Thus we have
[tex]\begin{gathered} p\propto q\text{ and also} \\ p\propto\frac{1}{r} \end{gathered}[/tex]This also implies that;:
[tex]p\propto\frac{q}{r}[/tex]and
[tex]p=\frac{kq}{r}[/tex]The answer is option B