So the rule with powering a power is [tex](x^m)^n=x^{m*n}[/tex]
In this case:
[tex](m^2)^3=m^{2*3}=m^6[/tex]
Your final answer is m⁶.