Answer:
f(x) = x^2 + 3x + 2.
Explanation:
The zeroes of the quadratic function are -1 and -2 so we can write it as:
f(x) = a(x + 1)(x + 2) where a is some constant.
Now, when x = 1, f(x) = 6 so
6 = a(1+1)(1+2)
6 = a*2*3 = 6a
a = 1.
So the function is f(x) = (x + 1)(x + 2) = x^2 + 3x + 2.