Answer: 6m
12m can be written as 6m*2
18m^2 can be written as 6m*3m
Both factorizations have '6m' in them, which shows we have a common factor. This is the greatest common factor as we cannot pull anything further out, ie, 2 and 3m have nothing in common other than 1.