Answer:
y= 6x -8
Step-by-step explanation:
Slope-intercept form:
y= mx +c, where m is the gradient and c is the y-intercept.
[tex]\boxed{gradient = \frac{y1 - y2}{x1- x2} }[/tex]
Gradient
[tex] = \frac{4 - ( - 2)}{2 - 1} [/tex]
= 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.