First, we have to find the slope, change in y over change in x. We can go either direction, but make sure to go the same direction.
(4 - 0)/(-6 - 2) or (0 - 4)/(2 - (-6)) = -4/8 = -1/2
We can do the next part two ways, too, either by plugging in one of the points (either one) and solving for b, our y-intercept, or using the formula.
4 = (-1/2)(-6) + b
4 = 3 + b
1 = b
y = (-1/2)x + 1
or...
y - 4 = (-1/2)(y - (-6))
y - 4 = (-1/2)y - 3
y = (-1/2)x + 1
Boom.