factor until nothing esle can be factored
factoring numbers into primes
if there are exponents on a factor, rewrite them without an exponent
6x2 2*x*x
12xy3 2*x y*y*y*2*3
2*x*x*y*y*y*2*3
The LCM is the product of all the columns
2*2*3 *x*x*y*y*y
12 x2 y3