The given points are (6,2) and (7,4).
We use the slope formula.
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Where,
[tex]\begin{gathered} x_1=6 \\ x_2=7 \\ y_1=2 \\ y_2=4 \end{gathered}[/tex]Replacing the coordinates, we have.
[tex]m=\frac{4-2}{7-6}=\frac{2}{1}=2[/tex]