Answer:
![y = 2x - 1](https://img.qammunity.org/2021/formulas/mathematics/middle-school/whnnhqokpzce16h9vgdnmw3c8bfsi5qyhs.png)
You should also try solving it yourself to make sure I did not make any mistake.
Explanation:
Equation:
![y = mx + b](https://img.qammunity.org/2021/formulas/mathematics/middle-school/mz6bvu74tuhpansv5wr4lvhm0e6gsu6nz7.png)
first we need the slope
![slope = (y1 - y2)/(x1 - x2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/xgk194u7skbkzj45foh710rx77a0p091gj.png)
![slope = (3 - ( - 1))/(2 - 0) = (4)/(2) = 2](https://img.qammunity.org/2021/formulas/mathematics/high-school/nj0vd1k28nsbjf7fwr9xfbbkpjnj4ege92.png)
So far the equation will look like this
![y = 2x + b](https://img.qammunity.org/2021/formulas/mathematics/middle-school/nxdxcf72fo0bl7ppqap92zfmm710nmmmc9.png)
Now to get b just pick one point and insert it into the equation. So I'll just pick (2,3)
![3 = 2 * 2 + b](https://img.qammunity.org/2021/formulas/mathematics/high-school/je4yr6zk5kcw705wycwf3bvqpowc5c1mc9.png)
when you solve this equation you'll get b
![b = - 1](https://img.qammunity.org/2021/formulas/mathematics/high-school/9zqbrqi7rev741bhndkx6r23pt6swld7mw.png)
We could also check if we get the same answer if we instead use point (0,-1)
![- 1 = 2 * 0 + b](https://img.qammunity.org/2021/formulas/mathematics/high-school/my7p2tkpk1zpugn6p6k3i24rqt5zo4j97i.png)
![b = - 1](https://img.qammunity.org/2021/formulas/mathematics/high-school/9zqbrqi7rev741bhndkx6r23pt6swld7mw.png)
Now we have the equation!
![y = 2x - 1](https://img.qammunity.org/2021/formulas/mathematics/middle-school/whnnhqokpzce16h9vgdnmw3c8bfsi5qyhs.png)