What is the equation of the function shown in the graph?
y = x + 1
y = 2x - 1
y = 3x - 1
y = 2x + 1