The integral \( \int e^x \left( \frac{x + 5}{(x + 6)^2} \right) dx \) can be solved using substitution. Let \( u = x + 6 \), which implies \( du = dx \). The integral transforms to \( \int e^{u - 6} \left( \frac{u - 1}{u^2} \right) du \), which simplifies to \( e^{-6} \int e^u \left( \frac{u - 1}{u^2} \right) du \). After applying integration by parts and solving, the result obtained is \( - \frac{e^x}{x + 6} \). Therefore, the correct answer is \( - \frac{e^x}{x + 6} \).