The graph of the quadratic function f(x)=ax^2+b(x+1) describes a parabola. Suppose the vertex of this parabola is (-1,2). What is the value of ab?
ab = 6.