What is the equation of the function?

Answer:
y = x + 1
Step-by-step explanation:
This line passes through (-1, 0) and (0, 1) As we move from the first point to the second, x increases by 1 and y also increases by 1. Therefore, the slope of this line is m = rise / run = 1 / 1, or m = 1.
Start with the general equation of a line y = mx + b. Substitute 1 for m and 1 for b. Then the equation of the line shown is:
y = x + 1