The equation of a line is :
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
where b is the y intercept and m is the slope. To find the slope we need to use the formula:
![m=(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2023/formulas/mathematics/high-school/78uaqhwt0aws3qfwxigaftpihnmb1gzxtp.png)
Using the first two points on the table, we have:
![m=(3-(-1))/(1-0)=(3+1)/(1)=(4)/(1)=4](https://img.qammunity.org/2023/formulas/mathematics/college/kvegfvvchky8wzm3mz2qtu6sbwb48c0hem.png)
From the table we notice that b=-1 (the y-intercept happens when x=0).
Therefore the equation of the line is:
![y=4x-1](https://img.qammunity.org/2023/formulas/mathematics/college/viuvf5wfa9o1arvrl5pnfmmf5awdjksqyq.png)