To make m the subject, we must isolate it from everything else. To start, we can subtract x from both sides. This gives us:
-2m = p - x
After this, we divide both sides by -2 to finish isolating m. This would give us:
m = [tex] \frac{p - x}{-2} [/tex]
Hope this helps! :)