Write the equation of the line from the graph.

Answer: y = 4x + 2
Step-by-step explanation:
A linear equation is usually in y= mx + b form, where m is the slope and b is the y-intercept.
In order to calculate the slope, we choose two-point from the graph. (-1 ,-2) and (0, 2).
slope = [tex]\frac{y_{2}- y_{1} }{x_{2} -x_{1} }[/tex]
= (2 - (-2)) / (0 - (-1))
= (2 + 2) / (0 + 1)
= 4 / 1
= 4
y-intercept means the y value when x is 0, according to the graph, the y value when x at 0 was 2. So the y-intercept is 2.
Plug both slope and y-intercept in, we get the equation:
y = 4x + 2