First simplify and then evaluate [[(x2 + 2x + 1) / (x + 2)] / [(x2-1) / (x-1)] - 1 / (x + 2), where x = √ 2-2

First simplify and then evaluate [[(x2 + 2x + 1) / (x + 2)] / [(x2-1) / (x-1)] - 1 / (x + 2), where x = √ 2-2

solution
simple form
=[(x+1)²/(x+2)]×[(x-1)/(x-1)(x+1)]-1/(x+2)
=[(x+1)²/(x+2)]×1/(x+1)-1/(x+2)
=(x+1)/(x+2)-1/(x+2)
=x/(x+2)
=(√2-2)/(√2-2+2)
=(√2-2)/(√2)
=1-√2