A polynomial function in its factored form is written:
[tex]\begin{gathered} y=(x-r_1)(x-r_2)(x-r_3)\ldots(x-r_k) \\ \text{ Where }r_1,r_2,r_3,\ldots,r_k\text{ are the zeros of the function} \end{gathered}[/tex]On the other hand, the number of times a given factor appears in the factored form of the equation of a polynomial is called multiplicity.
So, in this case, we have
[tex]\begin{gathered} r_1=3 \\ r_2=-1 \\ r_3=0 \\ y=(x-r_1)(x-r_2)(x-r_3) \\ y=(x-3)^2(x-(-1))^3(x-0)^2 \\ y=(x-3)^2(x+1)^3x^2 \\ \text{ Order} \\ y=\mleft(x+1\mright)^3(x-3)^2x^2 \end{gathered}[/tex]Therefore, the equation for the polynomial function (in factored form) is
[tex]y=(x+1)^3(x-3)^2x^2[/tex]