Why does 8 x 5 = 40?

Because adding 8 5's together makes 40.

That is, because 5 + 5 + 5 + 5 + 5 + 5 + 5 + 5 = 40.