Answer:
y = 2x - 5
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 )
to calculate m use the gradient formula
m = ( y₂ - y₁ ) / ( x₂ - x₁ )
with (x₁, y₁ ) = (- 2, - 9) and (x₂, y₂ ) = (6, 7)
m = (7 + 9) / (6 + 2) = 16/8 = 2
y = 2x + c ← is the partial equation
to find c use either of the 2 points
using (6, 7), then
7 = 12 + c ⇒ c = 7 - 12 = - 5
y = 2x - 5 ← equation in slope-intercept form