a2+2a+1 = (a+1)2
so (a2+2a+1)/(a+1) = (a+1)2/(a+1) = a+1
a2 -1 = (a+1)(a-1). This is a general formula a2-b2 = (a-b)(a+b) and this formula is very important and we see this formula a lot.
so (a-1)/(a2 - 1) = 1/(a+1)
could you manage from here?