Find a formula for the quadratic function depicted in the following graph f(x)=

For this problem, we are given the graph of a quadratic function and we need to determine the expression for the generating function.
We can represent a quadratic function as:
[tex]y(x)=(x-a)(x-b)[/tex]Where a and b are the zeros for the function. For our case a is equal to -1 and b is equal to -2. So we have:
[tex]\begin{gathered} y(x)=(x+1)(x+2)\\ \\ y(x)=x^2+2x+x+2\\ \\ y(x)=x^2+3x+2 \end{gathered}[/tex]The expression is x²+3x+2.