The slope-intercept form of the equation of a line is
y = mx + b,
where m is the slope, and b is the y-intercept.
We can find the slope using two points, (x1, y1) and (x2, y2) using the formula
m = (y2 - y1)/(x2 - x1)
We start by finding the slope.
m = (4 - 6)/(-2 - (-6)) = -2/(-2 + 6) = -2/4 = -1/2
Now we write the slope in our equation.
y = -1/2x + b
We need to find b. We use either point as x and y and solve for b. Let's use point (-2, 4).
4 = -1/2(-2) + b
4 = 1 + b
b = 3
Now we write the value we found for b in the equation of the line.
y = -1/2x + 3
Answer: y = -1/2x + 3