How to divide a trinomial into a polynomial using long division