The square of 2a, the square of B - 4AB + 2, factorization

The square of 2a, the square of B - 4AB + 2, factorization

2a^2b^2-4ab+2=2(a^2b^2-2ab+1)=2(ab-1)^2