Answer:
y = 2x + 2
Explanation:
the equation of a line in slope-intercept form is
y = mx + b ( m is the slope and b the y-intercept )
to calculate m use the gradient formula
m = ( y₂ - y₁ ) / ( x₂ - x₁ )
with (x₁, y₁ ) = (- 4, - 6) and (x₂, y₂ ) = (2, 6)
m =
=
= 2, hence
y = 2x + b is the partial equation
to find b substitute either of the 2 points into the partial equation
using (2, 6), then
6 = 4 + b ⇒ b = 6 - 4 = 2
y = 2x + 2 ← equation in slope-intercept form