Answer:
y= 4x-6
Step-by-step explanation:
The equation of a line is usually written in the form of y=mx+c, where m is its gradient and c is its y-intercept.
Let's find the gradient, m, first.
[tex]gradient = \frac{y1 - y2}{x1 - x2} [/tex]
Using the above formula,
[tex]m = \frac{10 - ( - 6)}{4 - 0} \\ m = \frac{10 + 6}{4} \\ m = \frac{16}{4} \\ m = 4[/tex]
Subst. the value of m into the equation.
y=4x+c
To find c, substitute a coordinate into the equation.
When x=0, y= -6,
-6= 4(0) +c
c= -6
Thus, the equation of the line is y= 4x -6.