In order to divide two fractions, we cross-multiply them:
This way,
[tex]\frac{2}{7}\div\frac{12}{7}\rightarrow\frac{2\cdot7}{7\cdot12}\rightarrow\frac{14}{84}\rightarrow\frac{2}{12}\rightarrow\frac{1}{6}[/tex]Therefore, we can conclude that
[tex]\frac{2}{7}\div\frac{12}{7}=\frac{1}{6}[/tex]