Expression 1 (whole box, then take away what Tara ate): the box had 4×(5+3) chocolates and Tara ate 4×2, so
4×(5+3)−4×2=4×8−8=32−8=24
Expression 2 (what is left in one row, then 4 rows): each row now has 5+3−2 chocolates, so
4×(5+3−2)=4×6=24
(Another correct way: 4×5+4×(3−2)=20+4=24, all the dark ones plus the milk ones left.)
Both give 24 chocolates. They are equal because the multiple of a difference is the difference of the multiples: 4×(8−2)=4×8−4×2.