The graph of an unknown function has an *x*-intercept of (-2, 0) and a *y*-intercept of (0, -1). Which of the graphs below correctly graphs this function?

The only graph that goes through both the two points which are an *x*-intercept of (-2, 0) and a *y*-intercept of (0, -1) is graph B