Answer:
The quadratic function x^2 - 5x + 6 =0
can be factored into (x -3) * (x-2)
And it would have roots of 3 and 2
So, if a cubic functions has roots of 2, 3 and 5 then its factors are
(x -2)* (x -3) * (x -5)
Multiply it out to get the equation.
Dunno if that was what you were looking for but i did what i can....