Answer:
See explanation
Explanation:
If a root of -1 is with a multiplicity of 1, then the polynomial has a factor of

If a root of 3 is with a multiplicity of 2, then the polynomial has a factor of

Then the polynomial function will be of the form

There are two cases,
and

Two graphs are attached.