To determine the slope of a graphed line you have to use the following formula:
![m=(y_1-y_2)/(x_1-x_2)](https://img.qammunity.org/2023/formulas/mathematics/college/fimp7zvgzwrq4ecowqytytl3ydbrfr5mz1.png)
Where
(x₁,y₁) are the coordinates of one point on the line
(x₂,y₂) are the coordinates of another point of the line
So the first step is to identify two points of the line, for example, the points (2,6) and (0,-2)
You can use (x₁,y₁) → (2,6) and (x₂,y₂) → (0,-2), replace the coordinates on the formula:
![\begin{gathered} m=(6-(-2))/(2-0) \\ m=(6+2)/(2) \\ m=(8)/(2) \\ m=4 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/n57x053baz98hn2w0iizjzewnhfm8p2zl5.png)
The slope of the line is m=4