Answer:
y = 2x +2
Explanation:
You want the equation of the line through points (-4, -6) and (2, 6).
Slope
The slope of the line is given by the formula ...
m = (y2 -y1)/(x2 -x1)
m = (6 -(-6))/(2 -(-4)) = 12/6 = 2
Point-slope equation
The point-slope equation of a line is ...
y -k = m(x -h) . . . . . line with slope m through point (h, k)
Using the point (2, 6) and the found value of slope, an equation for the line can be written:
y -6 = 2(x -2) . . . . point-slope equation for the line
Slope-intercept equation
Solving this equation for y and simplifying, we get the slope-intercept equation of the line.
y = 2x -4 +6 . . . . . eliminate parentheses, add 6
y = 2x +2 . . . . . . . . simplify; slope-intercept equation