Answer
$$
y=\frac{\ln x}{x} , \quad [\frac{1}{e}, e].
$$
The total area is given by
$$
\begin{aligned} A &=\left|\int_{0}^{1}\left(e^{x}-e\right) d x\right|+\int_{1}^{2}\left(e^{x}-e\right) d x \\
&=1+e^{2}-2 e \\
& \approx 2.952 \end{aligned}
$$
Work Step by Step
$$
y=\frac{\ln x}{x} , \quad [\frac{1}{e}, e].
$$
The Figure shows the required region. Part of the region is below the x-axis. The definite integral over that interval will have a negative value. To find the area, integrate the negative and positive portions separately and take the absolute value of the first result before combining the two results to get the total area.
The total area is given by
$$
\begin{aligned} A &=\left|\int_{0}^{1}\left(e^{x}-e\right) d x\right|+\int_{1}^{2}\left(e^{x}-e\right) d x \\
&=\left|\left(e^{x}-x e\right)\right|_{0}^{1}\left|+\left(e^{x}-x e\right)\right|_{1}^{2} \\
&=\left|\left(e^{1}-e\right)-\left(e^{0}+0\right)\right|+\left(e^{2}-2 e\right)-\left(e^{1}-e\right) \\
&=|-1|+e^{2}-2 e\\
&=1+e^{2}-2 e \\
& \approx 2.952 \end{aligned}
$$