how do I write as a fraction in the simplest terms?

The slope formula is given by
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]where
[tex]\begin{gathered} (x_1,y_1)\text{ } \\ (x_2,y_2)\text{ } \end{gathered}[/tex]are two points in the line. From the picture, we can take these points as
[tex]\begin{gathered} (x_1,y_1)=(0,-6) \\ (x_2,y_2)=(7,0)\text{ } \end{gathered}[/tex]By substituying these values into the slope formula, we obtain
[tex]\begin{gathered} m=\frac{0-(-6)}{7-0} \\ \end{gathered}[/tex]hence, the slope is given by
[tex]m=\frac{6}{7}[/tex]