You find the LCM by multiplying each prime factor the greatest number of times it occurs in either of the numbers.