You will see that this is really easy. Just follow this method:

1. Rearrange equation to have like terms on the same side:

- All terms with the same variable go on the same side

- Any terms with a unique variable goes with the constants

So, we have:

Subtract 5 from both sides:

Subtract mw from both sides:

2. Factor out a w on the right side of the equation:

Divide both sides by 2 - m:

And there you are.