We can use the slope formula to calculate the slope and then use point-slope form to compute the equation.
We are given two points in the line, and any two are sufficient to find the slope.
y = (y2 - y1)/(x2 - x1)
Given (-4, -6) and (2, 6):
(6 - (-6))/(2 - (-4)) = 12/6 = 2.
We can now plug in any point into point-slope form to calculate the line’s equation.
Slope: 2.
Point: (2, 6).
y - y1 = m(x - x1)
y - 6 = 2(x - 2)
Normally this would be sufficient as this IS a line. However, the question asks for y-intercept form. So let’s solve for y.
y - 6 = 2(x - 2)
y - 6 = 2x - 4
y = 2x + 2.
Hope this helps!