lcm%282%2Ax%2A%2A2%20%2B%206%2Ax%2C%2012%2Ax%29
Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.