A line can be written as an equation in the slope-intercept form:
![y=mx+b](https://img.qammunity.org/2023/formulas/mathematics/high-school/smsb8cbft03lwblmi49nf2l6jby2ofxzws.png)
Where m is the slope and b is the y-intercept.
We know the slope:
![m=3](https://img.qammunity.org/2023/formulas/mathematics/high-school/n9d8a7zx3khblupd8qiobmi8t4qlm66snp.png)
The y-intercept is the y value of the graph where it intercepts the y-axis, which happens when x = 0.
We know that the point x = 0 and y = 3 is on the line and, since the value of x is 0. the y value is the y-interceot, so:
![b=3](https://img.qammunity.org/2023/formulas/mathematics/college/b1x7xepw6ct5dcl4cw4ymvn5boo8vlnzg1.png)
Thus, we have the equation:
![y=3x+3](https://img.qammunity.org/2023/formulas/mathematics/high-school/jjvcfbwvvxaaw8p245pig3k6axj34la02l.png)
To calculate the other points, we just need to substitute their x values and get their y values:
x = 1:
![y=3\cdot1+3=3+3=6](https://img.qammunity.org/2023/formulas/mathematics/college/syquqnaeyuztmb7r3xlq7yy20v2igy26jz.png)
So, when x = 1, y = 6
x = 2:
![y=3\cdot2+3=6+3=9](https://img.qammunity.org/2023/formulas/mathematics/college/2e9ngglk7buv1dx9x7qqnhfh2hra89w67g.png)
So, when x = 2, y = 9.
x = 3:
![y=3\cdot3+3=9+3=12](https://img.qammunity.org/2023/formulas/mathematics/college/eck7d3uzoduv7lowyg973k2wl0wbqsv304.png)
So, when x = 3, y = 12;
So, the complete table is:
x | 0 | 1 | 2 | 3
y | 3 | 6 | 9 | 12