Check the final answer first, then review the worked steps.
\left(\frac{m^4}{n^7}\right)^2 = \frac{m^{4 \cdot 2}}{n^{7 \cdot 2}} = \frac{m^8}{n^{14}}