Answer:
[tex]y=\frac{1}{3}x-2[/tex]
Step-by-step explanation:
The equation of a line is given in the form [tex]y=mx+b[/tex]
Where
m is the slope with formula [tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]
and
b is the y-intercept [y axis cutting point of line]
Given the two points (0, -2) and (6,0),
x_1 = 0
y_1 = -2
x_2 = 6
y_2 = 0
Now, we find m using formula:
[tex]m=\frac{0+2}{6-0}=\frac{1}{3}[/tex]
Now we have
[tex]y=\frac{1}{3}x+b[/tex]
Finding b, we plug in any (x,y) point. Lets put (6,0) and find b:
[tex]y=\frac{1}{3}x+b\\0=\frac{1}{3}(6)+b\\0=2+b\\b=-2[/tex]
Thus,
equation of line = [tex]y=\frac{1}{3}x-2[/tex]