Solution:
The slope-intercept form of a line with slope m and y-intercept b is given by the following formula:
![y\text{ = mx+b}](https://img.qammunity.org/2023/formulas/mathematics/college/mfm0ccd0wy9je2uwavtbwn8cx52j97hk45.png)
On the other hand, the slope m is given by the following equation:
![m\text{ = }(Y2-Y1)/(X2-X1)](https://img.qammunity.org/2023/formulas/mathematics/college/wpnq2pmh3iosw1lgs9vnytzc5dhqdue9xx.png)
where (X1,Y1) and (X2,Y2) are points on the line. In this case, we can take the points:
(X1,Y1) = (1,2)
(X2,Y2) = (-1,-1)
replacing this data into the slope equation, we get:
![m\text{ = }(-1-2)/(-1-1)\text{ = }(-3)/(-2)\text{ = }(3)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/kbpatrhcgfafke3a7kjxud61cl5h4miyz0.png)
thus, the slope of the line would be:
![m\text{ = }(3)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/a0eohrdofppdnoz5al47wclapn2oaq0mty.png)
now, replacing this into the slope-intercept form of the line we get:
EQUATION 1
![y\text{ = }(3)/(2)x\text{ + b}](https://img.qammunity.org/2023/formulas/mathematics/college/tkdsm6401q3t1ni5rp4qqvtsnl18gdux54.png)
We only need to find the y-intercept b. For that, take any point on the line, for example (x,y) = (1,2), and replace it into the previous equation:
![2\text{ = }(3)/(2)(1)\text{ + b}](https://img.qammunity.org/2023/formulas/mathematics/college/qflho77wtyrpgf8lz3dae6shg647q5f7vv.png)
this is equivalent to:
![2\text{ = }(3)/(2)+\text{ b}](https://img.qammunity.org/2023/formulas/mathematics/college/ld3go5i2cg723ndd6go129m697uza7oi3j.png)
solving for b, we get:
![b\text{ = 2- }(3)/(2)\text{ = }(1)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/f4shwo0kqs66qxohbkrlifh6cdfpozdve1.png)
that is:
![b\text{ = }(1)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/hwv9nez3ml86mhey65cxxgcnuq42x013j3.png)
finally, replacing this into the EQUATION 1, we get:
![y\text{ = }(3)/(2)x\text{ + }(1)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/gq4trnvwjpnpdb39ib71tjvjpq6ql5ikvy.png)
then, the slope-intercept form of a line with the points (1,2) and (-1,-1) would be:
![y\text{ = }(3)/(2)x\text{ + }(1)/(2)](https://img.qammunity.org/2023/formulas/mathematics/college/gq4trnvwjpnpdb39ib71tjvjpq6ql5ikvy.png)