Answer
$y=-x-1$
Work Step by Step
We can see that the graph passes through the point $(-2,0)$ and the point $(0,-2)$.
Let's use the formula to find the slope m given two points:
$m=\frac{y_2-y_1}{x_2-x_1}=\frac{-2-0}{0-(-2)}=-1$
Use the slope and the coordinates to find b:
$y=mx+b$
$-1=-1(0)+b$
$b=-1$
Now that we have the slope, we can use one of the points and plug these values into the point-slope equation, which is given by the formula:
$y=mx+b$
$y=-1x+(-1)$
$y=-x-1$