Split the x out of the integrand so the parameter x appears both in a limit and as a coefficient:
g(x)=x∫1exf(t)dt−∫1extf(t)dt=xA(x)−B(x).
First derivative. With the Leibniz rule, A′(x)=f(ex)ex and B′(x)=exf(ex)ex=e2xf(ex), so
g′(x)=A(x)+xA′(x)−B′(x)=A(x)+(xex−e2x)f(ex)=A(x)+P(x)f(ex),
where P(x)=xex−e2x.
Second derivative. Since A′(x)=exf(ex),
g′′(x)=exf(ex)+P′(x)f(ex)+P(x)f′(ex)ex.
Evaluate at x=0. Here e0=1, P(0)=0−1=−1, and P′(x)=ex+xex−2e2x gives P′(0)=1+0−2=−1. Hence
g′′(0)=f(1)+(−1)f(1)+(−1)f′(1)=−f′(1).
Compute f′(1). By the Leibniz rule on f(x)=∫1lnxtet4dt,
f′(x)=(lnx)e(lnx)4⋅x1.
At x=1, ln1=0, so f′(1)=0⋅e0⋅1=0.
Therefore g′′(0)=−f′(1)=0.
Pitfall: Don't drop the x1 chain-rule factor when differentiating ∫1lnx, and note that the surviving term is −f′(1), not ±f(1) — the f(1) pieces cancel because P(0)=P′(0)=−1.