7. Find the indefinite integral \(\int \frac{1}{x^2(1+x)} dx\).