Hello!
Slope is rise/run. The formula to find slope is y2 - y1/ x2 - x1. To solve this, all we have to do is plug in the two points into the equation by having them represent a specific value. (-2, -6) is x1 and y1 and (2, 2) is x2 and y2. Here are the values broken down.
x1: -2
x2: 2
y1:-6
y2: 2
Let's solve. 2 - (-6) is 8 and 2 - (-2) is 4. 8/4 is 2 when simplified. There. The slope of the line is 2.