Respuesta :

We have to find the line equation of the function shown. We see that passes through the points:

[tex](0,2)\text{ and }(3,1)[/tex]

For doing so, we will find the slope and the y-intercept. The slope is given by the expression:

[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]

where (x₁,y₁) and (x₂,y₂) are two points of the line. In this case, replacing we obtain:

[tex]m=\frac{1-2}{3-0}=\frac{-1}{3}=-\frac{1}{3}[/tex]

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:

[tex]\begin{gathered} y=mx+b \\ y=-\frac{1}{3}x+2 \end{gathered}[/tex]