gcd (2*x**2+6*x,12*x)
solve(2*x, x)
diff(2*x, x)
series(2*x, x, 0, 10)
Need more control? Try SymPy Live.