Answer:
y=3x+5
Step-by-step explanation:
To find the equation you must first find the slope and y-intercept.
Finding the slope: use the formula m= y2-y1/x2-x1.
In this case, y2= 8, y1= -1, x2= 1, x1= -2.
Divide all of that using the formula and you get a slope of 3. m=3
Finding the y-intercept: use the formula y= mx+b.
You can use any of the two points given. Let's use the first point.
In this case, y= -1 and x= -2. Plug it into the equation along with the slope because m=3. Equation: -1=3(-2)+b. Solve it and you get a y-intercept of 5.
Finding the equation: so now that you have both the slope and the intercept, all you have to do is plug it into the y=mx+b formula. m(slope)=3, b(y-intercept)=5.
Therefore, the equation would be y=3x+5.
Hope this helped! :)