Divide (8p^6+12p^9)/(2p^3)