Calculating with letters: Computing with letters
The banana method for expanding double brackets
The banana method
For the product of two two-terms, we have the banana method:

Examples
\[\begin{aligned} (a+2)(b+3) &=a\cdot b+a\cdot 3+2\cdot b + 2\cdot 3\\ &= ab+3a+2b+6\\[0.3cm] (-4a+2)(2b-1) &= -4a\cdot 2b+-4a\cdot -1\\ &\phantom{=\,\,} +2\cdot 2b+2\cdot -1\\ &=-8ab+4a+4b-2\end{aligned}\]
With the banana method you can expand the double pairs of brackets. A square of a two-term can be seen here as the product of two identical two-terms. The formula can also be used in all kinds of complicated situations. Sometimes you can collect terms after expansion of brackets with the banana formula.
\[\begin{aligned}(-8x-4)(-5x-2) &= (-8x)\cdot (-5x)+(-8x)\cdot (-2)+(-4)\cdot (-5x)+(-4)\cdot (-2)\\
&\phantom{abcdevwxyz}\blue{\text{the banana method}}\\ &= 40x^2+16x+20x+8\\
&\phantom{abcdevwxyz}\blue{\text{simplification of terms}}\\ &=40x^2+ 36x+8\\
&\phantom{abcdevwxyz}\blue{\text{collection of similar terms}}\end{aligned}\]
