Prime factor each number and put like factors [ without regard to powers on each] in the same columns
8 = 2^3
10 = 2 * 5
Take the highest power of each different prime factor in each column and multiply these together
2^3 * 5 = 8 * 5 = 40 = LCM of 8, 10
