First, find the slope using the given points.
Slope formula: y2-y1/x2-x1
0-(-2)/4-(-4)
2/8
1/4
Second, find the y-intercept with the slope and one point.
-2 = 1/4/(-4) + b
-2 = -1 + b
-1 = b
Third, put everything we know into the equation.
y = 1/4x - 1
Best of Luck!