The equation of the line passing through point $ \left(-1,~2\right) $, and point $ \left(-3,~-2\right) $ is:
$$ y = 2 x + 4 $$To find equation of the line passing through points $ A(x_A,y_A) $ and $ B(x_B,y_B) $, we use formula:
$$ y - y_A~=~\frac{y_B - y_A}{x_B - x_A}(x-x_A) $$In this example we have:
$$ \begin{aligned} & \left(-1,~2\right) \implies x_A = -1 ~~\text{and}~~ y_A = 2 \\[1 em] & \left(-3,~-2\right) \implies x_B = -3 ~~\text{and}~~ y_B = -2 \end{aligned} $$After substituting into the formula, we obtain:
$$ \begin{aligned} y - y_A~&=~\frac{y_B - y_A}{x_B - x_A}(x - x_A) \\[1 em] y - 2~&=~\frac{ -2 - 2 }{ -3 - \left(-1\right) } \left( x - \left(-1\right) \right) \\[1 em]y - 2 ~&=~ 2 \left( x + 1 \right) \\[1 em]y - 2 ~&=~ 2x + 2 \\[1 em]y ~&=~ 2x + 4 \end{aligned} $$