In order to find the linear equation, use the following general equation for a line:
where:
m: slope of the line = -2
(xo,yo): coordinate of a point on the line = (-8,-2)
Replace the previous values of the parameters into the general equation for a line and solve for y, as follow:
Hence, the equation of the line is y = -2x - 18