Hello!
The formula for the slope is seen below.

The twos and ones represent either one of the y-values or x-values on the line. Any ordered pair can represent the ones or twos and the slope will be the same.
We will have (-3,1) be (

) and (1,-2) be (

). We will plug these numbers into the equation.

Therefore our slope is

.
I hope this helps!