The slope of a straight line is given by the following expression:
![m=\frac{change\text{ in y }}{change\text{ in x}}=(y_1-y_2)/(x_1-x_2)](https://img.qammunity.org/2023/formulas/mathematics/college/ytgzxqn2y02m37kooskrhmmn17jm3mu0ai.png)
By looking at the graph we have two locate two pairs of coordinates: Coordinate 1 (2,0) Coordinate 2 (-4,0).
Now we replace on the slope formula, having:
![\begin{gathered} m=(0-0)/(2-(-4)) \\ m=0 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/kbbb7aoy1zuhzib2px4lf38kfsi9czx26v.png)
Pair of coordinates, coordinate 1 (2,0) coordinate 2 (3,2)
![m=(0-2)/(2-3)=2](https://img.qammunity.org/2023/formulas/mathematics/college/swfp9r1juqqud0ahglcndj6azmoyvtyzqk.png)