Write in slope-intercept form an equation of the line that passes through the given points. (-1, -1) (1, 5)

Step 1: We need to find the slope (or m) FIRST using slope formula*.
[tex]m = \frac{5 - (-1)}{1 - (-1)}\\\\m = \frac{6}{2} = 3[/tex]
m = 3
Step 2: Now we find the y-intercept (or b) using the slope-intercept formula**, ONE of the 2 points given, and the slope we just found.
[tex]5 = 3(1) + b\\\\5 = 3 + b\\\\2 = b[/tex]
b = 2
Step 3: Now we put it all together we get our equation in slope-intercept form**.
[tex]y = 3x + 2[/tex]
**Slope-intercept form: [tex]y = mx + b[/tex]
*Slope formula: [tex]m = \frac{y_2 - y_1}{x_2 - x_1}[/tex]