Answer:
y =
x + 9
Step-by-step explanation:
The equation of a line in slope- intercept form is
y = mx + c ( m is the slope and c the y- intercept )
Calculate m using the slope formula
m = 
with (x₁, y₁ ) = (- 2, 6 ) and (x₂, y₂ ) = (2, 12 )
m =
=
=
=
, then
y =
x + c ← is the partial equation
To find c substitute either of the 2 points into the partial equation.
Using (2, 12 ) , then
12 = 3 + c ⇒ c = 12 - 3 = 9
y =
x + 9 ← equation of line