Expanding triple brackets

When we have more than two sets of brackets, we can expand them separately - first expand two of the brackets, then expand the result with the remaining bracket.

Example: Expand (2x + 3)(x + 4)(x - 3) using the grid method

First, expand the first two brackets, (2x + 3)(x + 4):

\timesx4
2x
3
\timesx4
2x2x^28x
33x12

This simplifies to 2x^2 + 11x + 12.

Now, expand this result with the remaining bracket, (x - 3):

\times2x^211x12
x
-3
\times2x^211x12
x2x^311x^212x
-3-6x^2-33x-36

This simplifies to 2x^3 + 5x^2 - 21x - 36.

Answer: 2x^3 + 5x^2 - 21x - 36