You can put this solution on YOUR website! The first step in finding the equation is to determine the slope. Remember that the slope of the line passing through (x1, y1) and (x2, y2) is:
So in our case we have:
So our slope is m=2. Now, the equation for a line using the slope and one point is:
y - y1 = m(x - x1)
So using m=2 and (0, -1) we have
y - (-1) = 2(x - 0)
y + 1 = 2x
y = 2x-1