We are given the following two points
![(-4,-1)\text{and }(6,-1)](https://img.qammunity.org/2023/formulas/mathematics/college/ypsdqj5a4b8c3k5qgxj8hcbyyiemszufnv.png)
We are asked to find the equation of the line that passes through these points.
Recall that the equation of the line in slope-intercept form is given by
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Where m is the slope and b is the y-intercept.
The slope of the line is given by
![m=(y_2−y_1)/( x_2−x_1)](https://img.qammunity.org/2023/formulas/mathematics/college/o91vd3tblqwe697an5j3njq2uev1474xhr.png)
![\text{where}(x_1,y_1)=(-4,-1)\text{and}(x_2,y_2)=(6,-1)](https://img.qammunity.org/2023/formulas/mathematics/college/6ou36r4rsdn72pktgu4ncs0v4kzpzibjap.png)
Let us substitute the given values into the slope formula
![m=(-1-(-1))/(6-(-4))=(-1+1)/(6+4)=(0)/(10)=0](https://img.qammunity.org/2023/formulas/mathematics/college/tcpyui98f34x09cbix7trz0ed4f0s6k1qi.png)
So, the slope of the equation is 0
The equation of the line becomes
![y=0x+b](https://img.qammunity.org/2023/formulas/mathematics/college/nrgu47cx5u0zlg3chaog7jql25vp6z4eu8.png)
Now let us find the y-intercept (b)
Choose any one point from the given two points
Let choose (-4, -1) and substitute it into the above equation
![\begin{gathered} y=0x+b \\ -1=0(-4)+b \\ -1=0+b \\ b=-1 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/jrolyp3yn9jn078oez3x00lp8z2juarkrb.png)
Therefore, the equation of the line in slope-intercept form is
![y=-1](https://img.qammunity.org/2023/formulas/mathematics/high-school/vwgcxbnu6slshz866yc5mzof7h9jqvl6lx.png)
Note that this equation has 0 slope that is why mx part becomes 0