Number of boxes = 6
Number of cookies packed in one box = 4
Total number of cookies can be determined by multiplying 6 with 4.
Hence, total number of chocolates = 4 + 4 + 4 + 4 + 4 + 4 = 4 x 6 = 24
or
6 can be written as addition of 3+3
hence
6 x 4 = 3 x 4 + 3 x 4
= 12 + 12
= 24