Update: Here is the real H2 you want
rSample[nSamples_, lambda_, nUnder_, nBar_] :=
If[# <= Exp[lambda (nUnder - nBar)], nUnder, (nBar*lambda + Log[#])/lambda] &
/@ RandomReal[{0, 1}, nSamples]
H2[s_, lambda_, nUnder_, nBar_] := Piecewise[{{0, s < 2 nUnder},
{E^((nUnder - nBar) 2 lambda), s == 2 nUnder},
{E^((-2 nBar + s) lambda) (1 - 2 nUnder lambda + s lambda), 2 nUnder < s <= nUnder + nBar},
{E^((-2 nBar + s) lambda) (1 + 2 nBar lambda - s lambda), nUnder + nBar < s <= 2 nBar}},
1]
nBar = 4;
nUnder = 7/2;
lambda = 2;
ed = EmpiricalDistribution[
rSample[10000, lambda, nUnder, nBar] +
rSample[10000, lambda, nUnder, nBar]];
Plot[{H2[s, lambda, nUnder, nBar], CDF[ed, s]}, {s, 2 nUnder - 0.5, 2 nBar + 0.5},
PlotStyle -> {Thickness[0.02], Thickness[0.005]},
PlotLegends -> {"The real H2", "Empirical distribution function\nof sum of two samples"}]