Slope m of a line passing through two points A(x_1,y_1) and B(x_2,y_2) is given by
m=(y_2-y_1)/(x_2-x_1)
Here let A=(-4,-8) and B=(-2,-6)
implies m=(-6-(-8))/(-2-(-4))=(-6+8)/(-2+4)=2/2=1
implies slope of the line passing through the given points is 1.