A line passes through the points (-6, -7) and (-2, 1). The equation of this line can be expressed as y = mx + b, where m and b are integers.
We can find the slope by using y2-y1/x2-x1
1-(-7)/-2-(-6) = 8/4 = 2
m=2
Now we plug in any point that is given, so let us pick (-2,1)
1=2(-2)+b
1=-4+b
5=b
Now we have our y-intercept
Thus, the equation of the line is y=2x+5