write an equation for the graph below in terms of xy=______

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:
[tex]slope=m=\frac{rise}{run}=\frac{y_2-y_1}{x_2-x_1}=\frac{3-1}{-1-0}=\frac{2}{-1}=-2[/tex]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:
[tex]y=-2x+1[/tex]