Slope of line passing through two points (x1,y1) and (x2,y2) is given by
m=y2−y1x2−x1
Since the line passes through (−2,5) and (6,4)
We have
Slope(m)=4−56−(−2)=−18