
Here's the solution ~
Let's consider two points (-2 , 0) and (0 , 2) on the line to find the slope (m) :




And, now let's observe the graph ; the distance of origin (sign included) from the point where the line cuts y - axis will be the y - intercept (c) .
That is : 2 - 0 = 2 units
Next step :
As we know any line can be expressed through slope intercept form ;

Here, m = slope and c = y - intercept [ already got the values ]
Now, use the values to find the equation ;


Therefore the required equation is ~
