First get the slope, m.
m = change in y / change in x = (5 - 3)/(7 - (-3)) = 2 / 10 = 1/5
You can also do reverse the order of subtractions = (3 - 5)/(-3 - 7) = -2 / -10 = 1/5
Now substitute the value of m and either (x,y) point into the slope intercept equation:
y = mx + b
5 = (1/5) 7 + b
5 - 7/5 = b
(25 - 7)/5 = b
18/5 = b
Final answer:
y = 1/5 x + 18/5