Question 1113508
your question (2w^5+16w^4-10w^3-4w^2)\w^2
is already okay because the denominators degree is higher than the numerator but if it was (2w^5+16w^4-10w^3-4w^2)/w^2

then we would divide using long division method.
    
     2w^3+16w^2-10w-4     -quotient
w^2 | 2w^5+16w^4-10w^3-4w^2
 - | 2w^5
      0.   16w^4
           16w^4
             0. -10w^3
                -10w^3 
                    0. -4w^2
                       -4w^2
                          0.