The slope of a line connecting two points is calculated using the formula:
\( m = \frac{y_2 - y_1}{x_2 - x_1} \)
For the points \((1, 2)\) and \((3, 6)\):
Plugging these coordinates into the formula yields:
\( m = \frac{6 - 2}{3 - 1} \)
\( m = \frac{4}{2} \)
\( m = 2 \)
The calculated slope of the line is \(2\).