Answer:
See explanation
Step-by-step explanation:
If a root of -1 is with a multiplicity of 1, then the polynomial has a factor of [tex]x-(-1)=x+1.[/tex]
If a root of 3 is with a multiplicity of 2, then the polynomial has a factor of [tex](x-3)^2.[/tex]
Then the polynomial function will be of the form
[tex]f(x)=a(x+1)(x-3)^2[/tex]
There are two cases, [tex]a>0[/tex] and [tex]a<0[/tex]
Two graphs are attached.