We are asked to find the equation of the line in slope-intercept form that passes through the following points.
![(-2,3)\: \text{and }(2,-5)](https://img.qammunity.org/2023/formulas/mathematics/college/8ww7cdzz13m1gfohveikc4ko8vpix2fbg8.png)
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 y-intercept is the point when the line crosses the y-axis.
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)=(-2,3)\text{and}(x_2,y_2)=(2,-5)](https://img.qammunity.org/2023/formulas/mathematics/college/jcx5czfnvvah1gal5kg3jjj5tq88b5gzjy.png)
Let us substitute the given values into the slope formula
![m=(-5-3)/(2-(-2))=(-8)/(2+2)=(-8)/(4)=-2](https://img.qammunity.org/2023/formulas/mathematics/college/3j5z34sn110tov2teuu8b4ncy33g8s3av2.png)
So the equation of line becomes
![y=-2x+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/rlu6nfc7816wamuzwxl9pfle23oh7bwf7c.png)
Now let us find the y-intercept (b)
Choose any one point from the given two points
Let's choose (-2, 3) and substitute it into the above equation
![\begin{gathered} y=-2x+b \\ 3=-2(-2)+b \\ 3=4+b \\ b=3-4 \\ b=-1 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/e96xtv74mglk3c08spocs1kluzxbsgicad.png)
Please note that even if you had chosen the other point then still you would have gotten the same y-intercept.
Therefore, the equation of the line in slope-intercept form is
![y=-2x-1](https://img.qammunity.org/2023/formulas/mathematics/college/i7bcvc1vr6bdqthckrpkawv2gvt9ifqrtd.png)