Answer
$\frac{2\times2\times2}{7}$
$\frac{2\times2\times2}{7\times7\times7}$
Work Step by Step
In $\frac{2^3}{7}$ the exponent applies only to the numerator.
In $(\frac{2}{7})^3$ the parentheses mean the exponent applies to the entire fractiion.
Thinking of fraction as division and using the order of operations, these two fraction could be written as
$2^3\div7=(2\times2\times2)\div7=\frac{2\times2\times2}{7}$
and
$(2\div7)^3=(2\times2\times2)\div(7\times7\times7)=\frac{2\times2\times2}{7\times7\times7}$