<h3>The problem was done correctly</h3>
Each term of 6x^2+4x-9 is placed along the top of the table. Each term of 5x+1 is placed along the right side of the table.
We have 3 terms in 6x^2+4x-9 and 2 terms in 5x+1
So there are 3 columns and 2 rows leading to 3*2 = 6 cells total.
Each cell is filled in by multiplying the outer terms
For instance, row 1, column 1 has 6x^2*5x = (6*5)*(x^2*x) = 30x^3
The other cells are filled in the same way.
After the table is completed, you then combine like terms
20x^2 and 6x^2 is one pair which add to 26x^2
4x and -45x is another pair which add to -41x
The other terms are just added on, but not combined/simplified. This leads to the final answer shown on your paper.