Multiplying a polynomial by a nonzero constant changes none of its zeros, since 5=0 contributes no root.
5(x−1)(x−2)=0⟺x=1 or x=2
The others differ: (x+1)(x+2) and x2+3x+2 both vanish at −1 and −2, and the cubic option has the extra zero 3. This is why a zero list alone never picks out one polynomial: it is only when a polynomial of degree n carries n different zeros, as this one does, that they pin it down, and even then a constant factor stays free.