The main properties we use in this problem are:
i)

(so, when we multiply 2 exponents of the same base, we add the exponents)
ii)

thus,

by first applying property i) then property ii)
also,

, by property ii)
So we have:

,
now we only have to compare the exponents.
6m must be equal to 21,
thus m=21/6=7/2
Answer: m=7/2