How do you explain the LCM of 8 and 10?

Prime factors of 8 are 23

Prime factors of 10 are 2 x 5

The LCM is the product of all the primes to their greatest power,

so the LCM of 8 and 10 is 23 x 5 = 8 x 5 = 40