Answer:
To do this, make zeroes when x is 2,3, and 5.
(x-2), (x-3), (x-5)
Put them into an equation by multiplying them together
y = (x-2)(x-3)(x-5)
And you can expand it if needed into x^3-10x^2+31x-30
None of the roots can have multiplicity or else it wouldn't be cubic.