Apart[(x^4 \[Minus]3x^3 +2x +1 )/(x^2(x + 3) )]