y = mx + b
To find the slope(m), you use the slope formula:
![m = (y_(2)-y_(1))/(x_(2)-x_(1))](https://img.qammunity.org/2019/formulas/mathematics/high-school/9juhm50fybf4gj60k3u330e32ecix2quaw.png)
You plug in the points into the equation.
![m = (-4 - (-4))/(0 - 2)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/8serb8byyq09gfcowzrn388p6c2u0gpfcf.png)
![m = (-4+4)/(0-2) = (0)/(-2) =0](https://img.qammunity.org/2019/formulas/mathematics/middle-school/1taytgpyyznrppctsjej2ua2ue7hex2fb9.png)
The slope is 0
y = 0x + b
Any number multiplied by 0 is 0. So:
y = b
To find b, you plug in the y value of either of the points.
-4 = b
Your equation is:
y = -4 (This is a horizontal line)