Answer :

18=-2m+6-m
-6         -6

12=-2m-m
combine like terms

12=-3m
12/-3=m

-4=m