To find the slope, we use the points (-1, -1,) and (0,2).
Where,
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
The equation of the line is y = 3x + 2.