Solve for p. We are given:
[tex] 2m=\frac{p-q}{r} [/tex]
To get rid of the fraction on the right, multiply both sides by the denominator, which is r.
[tex] r(2m)=r(\frac{p-q}{r}) [/tex]
We then get:
[tex] 2mr=p-q [/tex]
We are solving for p, so add q to both sides to isolate p on the right side. We are then left with:
[tex] 2mr+q=p [/tex]
You could switch the equation to make it look more traditional. However, both answers are correct.
[tex] p=q+2mr [/tex]