Let $(X,Y)$ be a uniformly chosen point of a region $A \subset \mathbb{R}^2$
Given we have the following joint pdf:
$$ f(x,y) = \begin{cases} \dfrac{a}{ \text{area of}~ A} & (x,y)\in A \\ 0 & \text{else} \end{cases}$$
And Let $$A = {(x,y),|y| \leq x \cdot e^{-x}}$$
the provided solutions state that A is 2 and it computes
$$EX = \int_{0}^{\infty} \int_{-xe^{-x}}^{e^{-x}} \frac{x}{2} dydx = \int_{0}^{\infty} x^2 e^{-x} = 2$$
Not that doesn't make sense to me:
1) how is the area of $A = 2$ , when the graph of $|y| = x e^{-x}$ looks like this: