
Jacob C. answered 07/19/21
Adaptive Math and Physics Tutor
Slope-intercept form is y = mx + b where m is the slope and b is the y-intercept. Since you were given two points on the line, we can compute the slope as m = (y2 - y1)/(x2 - x1):
m = (y2 - y1)/(x2 - x1)
m = (-5 - (-2))/(-3 - 0)
m = (-5 + 2)/(-3)
m = (-3)/(-3)
m = 1
Then, the equation of the line becomes y = (1)x + b, or simply y = x + b. We use one of the points on the line to determine the y-intercept, b, simply by substitution of the corresponding values of x and y. We'll use the point (0, -2) such that:
y = x + b
-2 = 0 + b
-2 = b
Thus, the equation of the line is y = x - 2.