Break apart the array to show 5X7=(5X2)+(5X5)
So first you do 5 times 2 is 10 and then you do 5 times 5 equal 25 10+25 = 35 and 5 times 7 is 35