The equation of the point slope form of a line whose slope is 'm' and that passes through a point (x1,y1 ) is (y - y1)= m(x - x1).
where,
(x, y) is a random point on the line(which should be kept as variables while applying the formula).
(x11, y11) is a fixed point on the line.
m is the slope of the line.
Given point (X1,Y1) = (-2,0)
Slope (m) = -2
So equation of line,
(y-0) = -2[x -(-2)]
y = -2x +2×(-2)
y = -2x-4