(x-t)^2 + integrate (e^(x+1/4t+2(s-t))+2*(x+1/4t+2(s-t))) with respect to s from 0 to t