How do you find the indefinite integral of int (x^2-4)/x?

$= \frac{1}{2} {x}^{2} - 4 \ln | x | + C$
$\int \frac{{x}^{2} - 4}{x} \mathrm{dx}$
$= \int x - \frac{4}{x} \mathrm{dx}$
$= \frac{1}{2} {x}^{2} - 4 \ln | x | + C$