s,t=var('s,t')
f=(6/((s+2)*(s-4)))
inverse_laplace(f,s,t);f
inverse_laplace(f,s,t)