For −1≤x≤0,e∣x∣=e−x, so the upper boundary is simply y=a. For 0≤x≤1 it is y=a+ex−e−x, which is also positive since a>0.
The area is therefore
A=∫−10adx+∫01(a+ex−e−x)dx=2a+[ex+e−x]01.
Thus A=2a+e+e−1−2. The given value is ee2+8e+1=e+8+e−1.
Equating the two expressions gives 2a−2=8, hence a=5.