To find the slope of a line through two points \((x_1, y_1)\) and \((x_2, y_2)\), you can use the formula:
\[ \text{slope} (m) = \frac{y_2 - y_1}{x_2 - x_1} \]
For the points \((2, 4)\) and \((-1, -2)\):
- Let \((x_1, y_1) = (2, 4)\)
- Let \((x_2, y_2) = (-1, -2)\)
Now, substitute the values into the slope formula:
\[ m = \frac{-2 - 4}{-1 - 2} = \frac{-6}{-3} = 2 \]
So, the slope of the graph is \(2\).