Write an equation of the line below

Answer:
y= 4x -2
Step-by-step explanation:
The equation of a line can be written in the form of y= mx +c (known as the slope-intercept form), where m is the slope and c is the y-intercept.
Identify the coordinates of any two points on the line:
(0, -2) and (2, 6)
[tex]\boxed{ slope = \frac{y _{1} - y_2 }{x_1 - x_2} }[/tex]
where (x₁, y₁) is the first coordinate and (x₂, y₂) is the second coordinate
Slope
[tex] = \frac{6 - ( - 2)}{2 - 0} [/tex]
[tex] = \frac{6 + 2}{2} [/tex]
[tex] = \frac{8}{2} [/tex]
= 4
y= 4x +c
From the graph, the y-intercept is -2 since the line cuts through the y-axis at the point (0, -2).
Thus, the equation of the line is y= 4x -2.