Answer:
y = x - 2
Explanation:
To write the equation in the form y = mx + b, find the value of slope (m) and y-intercept (b) of the graph.
Slope (m) = change in y/change in x
Using two points on the line, say (0, -2) and (2, 0),
Slope (m) = (0 -(-2))/(2 - 0)
m = 2/2
m = 1
y-intercept (b) = -2 (this is the point where the y-axis is intercepted by the line, at this point, x = 0)
✔️To write the equation, substitute m = 1 and b = -2 into y = mx + b
y = 1(x) + (-2)
y = x - 2