Divide each term in the polynomial by the monomial. It appears that you divided only the middle term of the polynomial by the monomial.