Answer:
In the below diagram,
First we take a grid having 6 boxes,
Where, the grid represents the total number of pans and each box represents piece of a pan,
Since,
[tex]\frac{1}{6}\text{ part of a pan}=2\text{ pieces}[/tex]
[tex]\implies \text{ 1 part of a pan}=12\text{ pieces}[/tex]
Hence, the total number of pieces in the whole pan of the cornbread is 12.