Algebra 1

$x = \frac{m-p}{5}$
First, get all the x's on one side $-5x+m = p$ then subtract m from both sides $-5x = p-m$ then isolate x by dividing both sides by -5 $x = -p/5 + m/5=\frac{m-p}{5}$