Answer:
y = -x + 2
Explanation:
For any linear equation, the equation of the line can be written in the form 'y=mx+c'. In this form, m is the slope and c is the y-intercept. We can figure out both these things using the graph.
The slope is like the incline/decline and can be found by getting two points on the line, say (x1,y1) and (x2,y2) and using the following formula:
m = (y2-y1) / (x2-x1)
So lets take two points: (-1,3) and (2,0)
m = (0-3)/(2-(-1))
m = -3/3
m= -1
The y intercept (c) is the value for x when the line crosses the y-axis.
From the graph we can see that the line crosses the y axis when x=2
∴ c = 2
Now that we know the slope and intercept, we just sub them into the formula:
y = mx +c
y = -x + 2
Let me know if you have questions :)