We have to find the line equation of the function shown. We see that passes through the points:
For doing so, we will find the slope and the y-intercept. The slope is given by the expression:
where (x₁,y₁) and (x₂,y₂) are two points of the line. In this case, replacing we obtain:
And thus, the slope is - 1/3. Now, for the y-intercept, we remember that when the x-coordinate is 0, the y-intercept is the y-coordinate.
As the line passes through the point (0,2), the y-intercept will be 2.
Putting those two together, the equation of the line will be: