Mae, how do we find slope? Change in y over change in x, right?
(a - (-2))/(-8 - (-10)) = 4
(a + 2)/(-8 + 10) = 4
(a + 2)/2 = 4
Since the left side is divided by 2, we do the opposite and multiply both sides by 2
a + 2 = 8
a = 6
Boom.