First choose 2 coordinates from what’s given in the table. Let’s take (2,0) and (3,3)
Slope = (y2-y1)/(x2-x1) = (3-0)/(3-2) = 3/1 =3
The general equation of a line is represented as y = mx + b, where m is the slope and b is the y-intercept.
We know the slope is 3, so we have
y = 3x + b
To find b, we choose one coordinate and we substitute in the equation and solve for b.
Let’s substitute (2,0) in the equation; we have:
0 = 3(2) + b
0 = 6 + b
b = -6
So the equation of the line is:
y = 3x - 6