In the graph you can see that the line passes through 2 points (-4,0) and (0,2). With them you can obtain the equation of the line. First you find the slope of the line with the following equation

So you have,

Now, with the point slope equation you can obtain the equation of the line

Therefore, the equation of the line is
