So the line going up is y
And the line going sideways is x
The points (-2,5) and (-4,3) is
(X , Y ) so since a its -2 you would go over to -2 on the x line than from -2 go up 5 and place your point
Formal- m = (y2 - y1) / (x2 - x1)
(x1, y1) = (-2, 5)
(x2, y2) = (-4, 3)
m = (3 - 5) / (-4 - (-2)) = -2 / (-2) = 1
So the slope of the line is 1.