Divide each term in the polynomial by the monomial. It appears that you divided 10 by 5 instead of 5 by 10 in the first term.