Notice all the important features of the graph,
1) The graph is a parabola;
2) Roots are -2, -1
3) A point is (-3, 2)
Put all this information into an equation;
y=a(x-r)(x-s)
y=a(x+1)(x+2) <-- signs revered due to the negative sign
2=a(-3+1)(-3+2) <-- put in the values of x and y to find a
2=a(-2)(-1)
2=a(2)
2/2=a
1=a
y=(x+2)(x+1) <-- find in standard form by expanding
y= x²+x+2x+2
y=x²+3x+2
Therefore, the correct option is the second one;
Hope I helped :)