To find the slope of the line that passes through the points \((2, 7)\) and \((9, 10)\), we can use the slope formula:
\[ m = \frac{y_2 - y_1}{x_2 - x_1} \]
Where \((x_1, y_1) = (2, 7)\) and \((x_2, y_2) = (9, 10)\).
Substituting in the values:
\[ m = \frac{10 - 7}{9 - 2} \]
Calculating the numerator and the denominator:
\[ m = \frac{3}{7} \]
Thus, the slope of the line is
\[ \boxed{\frac{3}{7}} \]