M = 72
Your main goal in this equation is to isolate m or in other words leave m alone in one side of the equality.
All you need to do is multiply 4 in both sides for you to eliminate the denominator attached to m.
Saying this,
(M/4)(4) = (18)(4)
M = 72