You have two points given. Use slope formula. $m = \frac{y2 - y1}{ x2 - x1 } = \frac{ 2 - (-2) }{ 1 - (-1) } = \frac{ 2 + 2 }{ 1 + 1 }$