Evaluate the given integral
$$\int e^x \bigg[\frac{2-x^2}{(1-x)\sqrt{1-x^2}} \bigg]dx$$
I was trying to convert it to $\int e^x (f(x)+f'(x))dx=e^x \cdot f(x)+C$ but did not succeed in algebraic manipulations. Could someone hint me to something so that I could proceed?