The slope of a line that passes through points (x1, y1) and (x2, y2) is computed as follows:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Replacing with (0, -2) and (1, 1):
![m=(1-(-2))/(1-0)=3](https://img.qammunity.org/2023/formulas/mathematics/college/x950qk160y8r1pozatwpif5784ybbcd4a1.png)
the y-intercept is the coordinate of the point at which the x-coordinate is equal to zero. From the table, this point is (0,-2)
Slope-intercept form of a line:
y = mx + b
where m is the slope and b is the y-intercept. Replacing with m = 3 and b = -2:
y = 3x - 2
Summarising:
• slope: 3
,
• y-intercept: (0,-2)
,
• equation: y = 3x - 2