When you add the 10s together you get the answer 40. There are 40 pencils. You get exactly the same answer if you count on in 10s. Counting on in 10s is quicker than adding lots of groups of 10 ...