$$\displaystyle\int{ \frac{ 4 { x }^{ 3 } +5 { x }^{ 2 } +2 }{ { x }^{ 3 } + { x }^{ 2 } } }d x$$
$3\ln(|x+1|)-2\ln(|x|)+4x-\frac{2}{x}+С$
$\frac{4x^{3}+5x^{2}+2}{\left(x+1\right)x^{2}}$