Answer
$r=p-2q$
Work Step by Step
Using the properties of equality, in terms of $r,$ the given equation is equivalent to
\begin{array}{l}\require{cancel}
q=\dfrac{p-r}{2}
\\\\
2(q)=2\left(\dfrac{p-r}{2}\right)
\\\\
2q=p-r
\\\\
r=p-2q
.\end{array}