Principle of Superposition

  f(x,t) =  
g(x,t) =

Also try 3*exp(-((x-5)+2*t)^2)