To find the slope, we use the points (-1, -1,) and (0,2).
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Where,
![\begin{gathered} x_1=-1 \\ x_2=0 \\ y_1=-1 \\ y_2=2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wp2ph4az0neeqwpqbe12q21gqnxck9n19a.png)
![m=(2-(-1))/(0-(-1))=(2+1)/(1)=3](https://img.qammunity.org/2023/formulas/mathematics/college/tfiqxh7jjt7c8l9i62arj78rq5z5w0shny.png)
The slope is 3.
The y-intercept refers to the point where the line touches the vertical axis.
The y-intercept is (0,2).
Then, we use the point-slope formula to find the equation
![\begin{gathered} y-y_1=m(x-x_1) \\ y-(-1)=3(x-(-1)) \\ y+1=3x+3 \\ y=3x+3-1 \\ y=3x+2 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/i513htchv7othjqig4pan36jyvb0povc5x.png)
The equation of the line is y = 3x + 2.