Answer:
[tex]y=2x-2[/tex]
Step-by-step explanation:
Hi there!
Linear equations are typically organized in slope-intercept form: [tex]y=mx+b[/tex] where m is the slope and b is the y-intercept (the value of y when the line crosses the y-axis)
1) Determine the slope (m)
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex] where the two points are [tex](x_1,y_1)[/tex] and [tex](x_2,y_2)[/tex]
Plug in the given points (0,-2) and (2,2)
[tex]=\frac{2-(-2)}{2-0}\\=\frac{2+2}{2}\\=\frac{4}{2}\\=2[/tex]
Therefore, the slope of the line is 2. Plug this into [tex]y=mx+b[/tex] as m:
[tex]y=2x+b[/tex]
2) Determine the y-intercept (b)
[tex]y=2x+b[/tex]
Plug in one of the given points and solve for b
[tex]2=2(2)+b\\2=4+b[/tex]
Subtract 4 from both sides to isolate b
[tex]2-4=4+b-4\\-2=b[/tex]
Therefore, the y-intercept of the line is -2. Plug this back into [tex]y=2x+b[/tex]
[tex]y=2x-2[/tex]
I hope this helps!