Let (x1,y1) = (-10,3) and (x2,y2) = (-2,-5). The slope, m, is the difference in the y-coordinates of the two points divided by the difference in the x-coordinates:
m = (y2-y1)/(x2-x1)
m = (-5 - 3)/(-2 - -10) = -8/8 = -1
The point-slope form of the straight line connecting the two points would be:
y - y1 = m(x - x1)
You can choose either point, but let's use (-10,3):
y - 3 = -(x + 10)