Every polynomial can be written in the form:
The a_1, a_2.... are the roots of the polynomial, meaning that f(a_1) = f(a_2) = ... = 0. This happens wen the graph of the polynomial intersects or tangency the x-axis. Whe it only tangecy the x-axis, it means that you have two of the root.
In this case, we have the polynomial tangency the x-axis in x = -2 and intersect the x-axis in x = 3. This means that the polynomial has roots -2, -2 (again) and 3. So:
Since the order doesn't metter, we can right in this way:
Which corresponds to alternative D.