Answer:
B. y = x + 2
Explanation:
By the given graph,
The line is passes through the points (-2, 0) and (0, 2),
Since, the equation of a line passes through
and
is,

Hence, the equation of the line shown in the graph,



Therefore, Option 'B' is correct.