Primary producer which is plants must be placed at the bottom of pyramid, thus the plant is placed at trophic level 1 .
The caterpillar is the primary consumer , thus is will be placed the 2 level .
Bird is the secondary consumer , thus it will be placed at level 3.
I am sorry if my answers were wrong : )