Answer: y = -0.5*x - 1
Explanation:
A linear relationship can be written as:
y = a*x + b
where a is the slope and b is the y-axis intercept.
For a line that passes through the points (x1, y1) and (x2, y2), the slope can be written as:
a = (y2 - y1)/(x2 - x1).
Here we know that we have a line that passes through the points (-2, 0) and (0, -1)
Then the slope for this line is:
a = (-1 -0)/(0 - (-2)) = -1/2 = -0.5
Then our line is something like:
y = -0.5*x + b
now we know that this line passes trough the point (0, -1), this means that when x = 0, y must be equal to -1
Then we can replace these values in the equation in order to find the value of b.
-1 = -0.5*0 + b
-1 = b
Then the equation is:
y = -0.5*x - 1