Write an equation of the line that passes through the given points.

​(negative 2
​,5​)
and ​(1
​,negative 1
​)
Question content area bottom
Part 1
The equation is enter your response here
.
​(Type your answer in​ slope-intercept form.)

1 answer

To find the equation of the line, we need to find the slope (m) and the y-intercept (b).

The slope (m) can be found using the formula:
m = (y2 - y1) / (x2 - x1)

Using the points (-2, 5) and (1, -1), we have:
m = (-1 - 5) / (1 - (-2))
m = -6 / 3
m = -2

Now, we can use the point-slope form of a linear equation to find the y-intercept (b):
y - y1 = m(x - x1)

Using the point (-2, 5) and the slope m = -2, we have:
y - 5 = -2(x - (-2))
y - 5 = -2(x + 2)
y - 5 = -2x - 4
y = -2x + 1

Therefore, the equation of the line that passes through the points (-2, 5) and (1, -1) is:
y = -2x + 1.