Hello, could someone please solve the following problem with steps. I know that the answer is 1 but need to see step-by-step how to get it in order to understand it. This solution is pretty new for me. Thank you so much in advance.

lim ((x^2-1)/(x^2+2))^((2x^2+3x-1)/(x+1))

x->+∞