Given the graph of a line.
We will write the equation of the line using two points lying on the line
As shown, the line passes through the points (0, 1) and (-1, 3)
The general equation of the line is: y = m * x + b
Where (m) is the slope and (b) is the y-intercept
We will find the slope as follows:
![slope=m=(rise)/(run)=(y_2-y_1)/(x_2-x_1)=(3-1)/(-1-0)=(2)/(-1)=-2](https://img.qammunity.org/2023/formulas/mathematics/college/eio2p5j21a16sohpa5x57u7uf7z9jxoyn3.png)
And the value of b = the value of (y) when x = 0
So, b = 1
So, the answer will be, the equation of the line:
![y=-2x+1](https://img.qammunity.org/2023/formulas/mathematics/high-school/c9b8fnr5yqo3nf0fok7df9fnhd5uja4kbg.png)