Answer:
y = 2x -3
Explanation:
You want the equation of the line through the points (-1, -5) and (2, 1).
Slope
The slope of the line is given by ...
m = (y2 -y1)/(x2 -x1)
m = (1 -(-5))/(2 -(-1)) = 6/3 = 2
Y-intercept
The y-intercept of the line can be found from ...
b = y -mx
y = -5 -2(-1) = -3
Slope-intercept form
The slope-intercept form of the equation of a line is ...
y = mx +b . . . . . . . line with slope m and y-intercept b
Using our found values, the equation is ...
y = 2x -3 . . . . . . . . line with slope 2 and y-intercept -3