Answer:
y = 2x + 3
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 = (y₂ - y₁ ) / (x₂ - x₁ )
with (x₁, y₁ ) = (- 2, - 1) and (x₂, y₂ ) = (1, 5)
m = = = 2, thus
y = 2x + c ← is the partial equation
To find c substitute either of the 2 points into the partial equation
Using (1, 5), then
5 = 2 + c ⇒ c = 5 - 2 = 3
y = 2x + 3 ← equation of line