We are asked to find the equation in slope-intercept form that passes through the following points.
![(0,3)\text{ and }(2,-1)](https://img.qammunity.org/2023/formulas/mathematics/college/1woeg43ac0vav9g97fxxemrci2hwqw3vba.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 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)=(0,3)\text{and}(x_2,y_2)=(2,-1)](https://img.qammunity.org/2023/formulas/mathematics/college/bjp7udw64xv383n8olk5aemuh55cawf8tn.png)
Let us substitute the given values into the above slope formula
![m=(-1-3)/(2-0)=-(4)/(2)=-2](https://img.qammunity.org/2023/formulas/mathematics/college/hie6ecipoocwi26b7tfymm91yfsl211yjb.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 choose (0, 3) and substitute it into the above equation.
![\begin{gathered} y=-2x+b \\ 3=-2(0)+b \\ 3=0+b \\ 3=b \\ b=3 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/slbsdfmhqfcc6g2gaoqpt4qk3n7v7kzgre.png)
Please note that even if you had chosen any 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+3](https://img.qammunity.org/2023/formulas/mathematics/high-school/8rtcwxdfz0uecpm44ag9dzk1bxozaaklsm.png)
The correct option is A.