find all zeros of a polynomial when two roots are given