First, calculate the slope (m) using the two points.
m = (y2 - y1) / (x2 - x1)
m = (-1 - 2) / (1 - 0)
m = -3
Now, use the slope-intercept form of a line (y = mx + b) and plug in one of the points to solve for b:
2 = -3(0) + b
2 = b
Thus, the equation of the line in slope-intercept form is:
y = -3x + 2
Write the equation of the line in slope-intercept form.
0,2 1,-1
1 answer