Tomamos como el límite
$$\lim_{x \to -1^+}\left(\frac{- 3 x + \left(x^{2} + 1\right)}{\left(x - i\right)^{2}}\right)$$
cambiamos
$$\lim_{x \to -1^+}\left(\frac{- 3 x + \left(x^{2} + 1\right)}{\left(x - i\right)^{2}}\right)$$
=
$$\lim_{x \to -1^+}\left(\frac{x^{2} - 3 x + 1}{\left(x - i\right)^{2}}\right)$$
=
$$\lim_{x \to -1^+}\left(\frac{x^{2} - 3 x + 1}{\left(x - i\right)^{2}}\right) = $$
$$\frac{1 + \left(-1\right)^{2} - -3}{\left(-1 - i\right)^{2}} = $$
= -5*i/2
Entonces la respuesta definitiva es:
$$\lim_{x \to -1^+}\left(\frac{- 3 x + \left(x^{2} + 1\right)}{\left(x - i\right)^{2}}\right) = - \frac{5 i}{2}$$