Answer:
y = 3x + 1
Explanation:
Slope-intercept form is y = mx + b.
To find the slope (m), you use the equation (y1-y2)/(x1-x2). Plug in your points (-2, -5) and (2, 7) to get (-5 - 7)/(-2 - 2). Simplify the formula to get a slope of 3. This is your variable m.
To get the entire equation, finding b in the process, you use the formula y - y1 = m(x - x1). Replace m with 3. Using the point (-2, -5), replace it with (x1, y1) respectively to get y + 5 = 3(x + 2). Distribute to get y + 5 = 3x + 6. Isolate the y to get your final answer: y = 3x + 1.