Find the equation of the line shown

Answer:
The equation of the line is:
[tex]y = x + 1[/tex]
Step-by-step explanation:
The equation of a line has the following format:
[tex]y = mx + b[/tex]
In which m is the slope(suppose we have two points, the slope is the change in y divided by the change in x).
b is the y-intercept(the value of x when y = 0).
In this question:
When [tex]x = 0, y = 1[/tex], so [tex]b = 1[/tex]
Passes through the points (0,1) and (1,2). So the slope is
[tex]m = \frac{2-1}{1-0} = 1[/tex]
The equation of the line is:
[tex]y = x + 1[/tex]