You can put this solution on YOUR website! Wanting a degree three polynomial function and having the three roots means you can just write the factors which make the minimum function. You're already given that coefficient on x is 1.
If you want, you can multiply the two complex factors to get a quadratic factor: , so to have .