how to divide the polynomial by another polynomial?