slope = rise divided by run. Rise is the change in y and run is change in x, So
let y-(-1) = y + 1 = the rise
The run is x-0 = x
Now your slope is (y + 1) / x, but that = 2
(y+1) / x = 2
Multiply both sides by x
y+1 = 2x
y = 2x -1
Easier Method: (0, -1) is the y intercept where x = 0. The slope intercept form of an linear equation is y = mx + b where m is the slope and b is the y intercept. Thus:
y = 2x - 1 is the correct answer from the slope intercept form.