To get the equation of the line, you need two points that belong to this line. From the given graph, we can choose any two points: (0,-4) and (-2,0)
The general for of the linear straight line is: y = mx + c where m is the slope and c is the y-intercept
First, we will calculate the slope using the following rule: slope = (y2-y1) / (x2-x1) slope (m) = (0--4) / (-2-0) = 4/-2 = -2 The equation of the line now is: y = -2x + c
Then, we will get the value of the c. To do so, we will choose any point and substitute in the equation. I will choose the point (0,-4) y = -2x + c -4 = -2(0) + c c = -4
Based on the above calculations, the equation of the line is: y = -2x - 4