2a^2+4ab+2b^2 = 2 (a+b)^2
2m^2+2n^2-4mn = 2 (m-n)^2
5x^2+10xy+5y^2 = 5 (x+y)^2
8p^2-16p+8 = 8 (p-1)^2
27a^2b^2-18ab+3 = 3 (3ab-1)^2
12m^5n+24m^4n+12m^3n = 12m^3 (m+1)^2n
2a^2+4ab+2b^2 = 2 (a+b)^2
2m^2+2n^2-4mn = 2 (m-n)^2
5x^2+10xy+5y^2 = 5 (x+y)^2
8p^2-16p+8 = 8 (p-1)^2
27a^2b^2-18ab+3 = 3 (3ab-1)^2
12m^5n+24m^4n+12m^3n = 12m^3 (m+1)^2n