Answer:
y = -x - 1
Step-by-step explanation:
1. The slope-intercept form of any linear equation is y = mx + b, where y = y-coordinate, m = slope, x = x-coordinate, and b = y-intercept.
2. To find the slope given two points, we can use the formula [tex]\frac{y_2-y_1}{x_2-x_1}[/tex] and plug in the corresponding variable.
- [tex]\frac{5-(-2)}{-6-1}[/tex]
- [tex]\frac{5+2}{-7}[/tex]
- [tex]\frac{7}{-7}[/tex]
- [tex]-1[/tex]
3. Okay, so the slope is -1x or just -x. This means that the equation looks like this so far: y = -x + b
4. To find b, the y-intercept, we can take the equation of [tex]b = y_1 - m * x_1[/tex] and plug in the values!
- [tex]b = -2-(-1)*1[/tex]
- [tex]b = -2 + 1 * 1[/tex]
- [tex]b = -1 * 1[/tex]
- [tex]b = -1[/tex]
5. Now that we have our y-intercept and slope, let's plug in those values and find the equation!
Therefore, the equation of the line is y = -x - 1. I hope this helped you!