Theory:

The square of the difference of two expressions:
ab2=a22ab+b2
The square of the difference of two expressions is equal to the square of the first expression, minus twice the product of the first and the second expression, plus the square of the second expression:
 
ab2=abab=aa+abbabb=a2abba+b2=a22ab+b2
Application of the formula ab2=a22ab+b2
Example:
1) According to the formula:
 
x32=x22x3+32=x26x+9
 
Without the formula (multiplying a polynomial by a polynomial):
 
x32=x3x3=xx+x33x33=x23x3x+9=x26x+9
 
2) According to the formula:
 
4xy2=4x224xy+y2=16x28xy+y2
 
Without the formula (multiplying a polynomial by a polynomial):
 
4xy2=4xy4xy=4x4x+4xyy4xyy=16x24xy4xy+y2=16x28xy+y2
 
3) According to the formula:
 
6z92=6z226z9+92=36z2108z+81.

Without the formula (multiplying a polynomial by a polynomial):
 
6z92=6z96z9=6z6z+6z996z99=36z254z54z+81=36z2108z+81