The equation to find the slope of a line is y2 - y1 / x2 - x1
So,
what you do is take the y coordinate in your first point, which in this
case is 5, and subtract it from your y coordinate in the second point,
which is 3.
3 - 5 = -2
-2 / x2 - x1
Now take the x
coordinate in your first point, which in this case is 4, and subtract
it from the x coordinate in your second point, which is 8.
8 - 4 = 4
Now you're left with -2 / 4, which is the equation for the line that passes through the points (4,5) and (8,3)
Hope this helps!!