slope = [4 - (-2)]/(-2 - 2) = 6/(-4) = -3/2
y = -3/2 x + b
substitute one pair of values for x and y
(4) = -3/2 (-2) + b
4 = 3 + b
1 = b
check against the other pair of coordinates
y = -3/2 x + 1
(-2) = -3/2 (2) + 1
-2 = -3 + 1