The formula for the slope is seen below.
[tex] \frac{ y_{2} - y_{1} }{ x_{2}- x_{1} } [/tex]
The twos and ones represent either one of the y-values or x-values on the line (or one one of the ordered pairs we are given). Any ordered pair can represent the ones or twos and the slope will be the same.
We will have (-1,-1) be ([tex] x_{1} , y_{1}[/tex]) and (-2,-1) be ([tex] x_{2} ,y_{2}[/tex]). We will plug these numbers into the equation.
[tex] \frac{-1+1}{-2+1} = -\frac{0}{1} [/tex]
Therefore our slope is [tex]- \frac{0}{1} [/tex].
As I said before, a line is vertical if the slope is 0/x. Since this slope is zero divided by a number, the line is horizontal.
I hope this helps!