d^2+8 8-d
------ - ------
d^3-d d^3-d
The denominators are the same, so combine the numerators
d2+8-8+d= d(d+1)
factor out a d from each term in the denominator, then you are left with a difference of squares, and then factor and one two terms will divide out.