Graph the function.
For the function whose graph is shown below, which is the correct formula for the function?
A: y=3x-1
B:y=3x+1
C:y=-3x+1
D: y=-3x-1
