Decompose the following factors into the square of 2A (x + 1) - 8A * X

Decompose the following factors into the square of 2A (x + 1) - 8A * X

The square of 2A (x + 1) - 8A * x
=2a[(x²+1)²-4x²]
=2a(x²+1+2x)(x²+1-2x)
=2a(x+1)²(x-1)²