Answer:
y = 3x + 2
Explanation:
Slope-intercept form: y = mx + b
Slope formula:
![(y2-y1)/(x2-x1)](https://img.qammunity.org/2021/formulas/mathematics/middle-school/flm5n96lsu1pl0daqmknr0jcmu4wjdbkcc.png)
Given points: (-1, -1), (1, 5)
(-1, -1) = (x1, y1)
(1, 5) = (x2, y2)
To write the equation in slope-intercept form, we need to find the slope(m) and the y-intercept(b) of the equation.
First, let's find the slope. To do this, input the given points into the slope formula:
![(5-(-1))/(1-(-1))](https://img.qammunity.org/2021/formulas/mathematics/high-school/sabnz1bhckqv8mkjcn837cylk0svc8k5me.png)
Simplify:
5 - (-1) = 5 + 1 = 6
1 - (-1) = 1 + 1 = 2
![(6)/(2)=3](https://img.qammunity.org/2021/formulas/mathematics/high-school/r72ao71muj3j43cwyjvu4thnstbqsev8p4.png)
The slope is 3.
To find the y-intercept, input the slope and one of the given points(in this example I'll use point (1, 5)) into the equation and solve for b:
5 = 3(1) + b
5 = 3 + b
2 = b
The y-intercept is 2.
Now that we know the slope and the y-intercept, we can write the equation:
y = 3x + 2