There is no picture of the pyramids.... But we don't need the picture.
Find the pattern for the given 5 numbers and then continue the pattern to find the 6th, 7th, and 8th numbers.
The numbers of cannonballs in the pyramids form a sequence of integers. Find the differences between successive terms of the sequence, then the differences between those differences, and so on, until the differences are constant.
Then you can continue that sequence of constant integers and work backwards to find later terms in the sequence.
Here is an array showing the terms of the original sequence and the first, second, and third differences:
1 4 10 20 35
3 6 10 15
3 4 5
1 1
The third differences are constant. To find three more terms of the sequence, add three more 1's to that row and work backwards up the array of numbers.
1 4 10 20 35
3 6 10 15
3 4 5
1 1 1 1 1
1 4 10 20 35
3 6 10 15
3 4 5 6 7 8
1 1 1 1 1
1 4 10 20 35
3 6 10 15 21 28 36
3 4 5 6 7 8
1 1 1 1 1
1 4 10 20 35 56 64 100
3 6 10 15 21 28 36
3 4 5 6 7 8
1 1 1 1 1
The 8th pyramid will have 100 cannonballs.