Answer:     y = -1/2x - 2 
Step-by-step explanation:
To first write the equation, we need to find the slope and the y intercept and write it in the form  y=mx +b 
To find the slope, we will find the difference between the y coordinates and divide it by the difference between the x coordinates. 
The y coordinates of the points are , 0 and -2
The x coordinates of the points are -4 and 0
0 - (-2) = 2 
-4 -0 = -4 
Slope:  2/-4 = -1/2 
Now using the formula y=mx+b, you will input the slope and use one of the given point's coordinates to solve for b the y intercept. 
We will use the point (0,-2) 
   -2 = -1/2(0) + b 
 -2 = b 
   This means the equation will be  y = -1/2x - 2