We know that the polynomial has roots of multiplicity 2 at x=-3 and x=2, therefore, it must be of the form:
[tex]Y(x)=P(x)(x+3)^2(x-2)^2.[/tex]Now, we are given that the polynomial has a root at x=-2, we get that:
[tex]P(x)=k(x+2)\text{.}[/tex]Therefore:
[tex]Y(x)=k(x+2)(x+3)^2(x-2)^2.[/tex]To determine the value of k we use the fact that the y-intercept is at (0,24):
[tex]Y(0)=24=k(0+2)(0+3)^2(0-2)^2=k\cdot2\cdot9\cdot4=72k.[/tex]Solving the above equation for k, we get:
[tex]k=\frac{24}{72}=\frac{1}{3}\text{.}[/tex]Finally, substituting the value of k, we get that:
[tex]Y(x)=\frac{1}{3}(x+2)(x+3)^2(x-2)^2.[/tex]Answer:
[tex]\frac{1}{3}(x+2)(x+3)^2(x-2)^2.[/tex]