How do i put this in box method after factoring.

So my answer factor is

2( x+1)(x+1)

something like

x^2 x
x 1