Answer:
y= 6x -8
Explanation:
Slope-intercept form:
y= mx +c, where m is the gradient and c is the y-intercept.
![\boxed{gradient = (y1 - y2)/(x1- x2) }](https://img.qammunity.org/2022/formulas/mathematics/college/27lmb53lc5qsd8bns0ioy54u9oq2g9iis6.png)
Gradient
![= (4 - ( - 2))/(2 - 1)](https://img.qammunity.org/2022/formulas/mathematics/high-school/638vr2r8hl8azk4xvll3czs6j69gd7s6az.png)
= 6
y= 6x +c
To find the value of c, substitute the equation with a pair of coordinates.
When x= 1, y= -2,
-2= 6(1) +c
c= -2 -6 (-6 on both sides)
c= -8
Thus, the equation of the line is y= 6x -8.