Can someone please simplify this i am lost. X(x+1)+(x+1)(x+2) show your work

X(x+1)+(x+1)(x+2)

Take out the common factor and add:
(x+1)[x + x+2]
=(x+1)[2x+2]
Take out the 2 as a common factor:
=(x+1)[2(x+1)]
=2(x+1)²