Consider that the graph shows a straight line passing through the points (-3,0), (-2,1), (-1,2), (0,3) etc.
However, only two points are sufficient to obtain the equation of the line.
The equation of the line passing through two points is given by,

So the equation of the line passing through (-3,0) and (0,3) will be,

Thus, the required equation is x -