I'm trying to apply the technique explained here for finding the expected value of the function of a random variable. Here's the exercise I tried it on:
"An auto-insurance policy has a deductible of 1 and a maximum claim payment of 5. Auto loss amounts follow an exponential distribution with mean 2. Calculate the expected value claim made for an auto loss."
One way to obtain the solution is by letting losses equal $X \sim \text{exp}(.5)$ and claim payments equal $Y = 0 \text{ for } 0 \leq X \leq 1, X-1 \text{ for } 1<X\leq 6, \text{ and } 5 \text{ for } X>6$. Then the pdf of X is $f(x) = .5e^{-.5x}$ and $$ \begin{align}E(Y) &= 0\int_{0}^{1}f(x)dx \text{ + } \int_{1}^{6} (x-1)f(x)dx \text{ + } 5\int_{6}^{\infty} f(x) dx =2(e^{-.5} - e^{-3}) \end{align}$$
which is the desired result. Using the approach outlined in the link, I tried setting up $E(Y)$ like this: $$E(Y) = 0\cdot P(0\leq X\leq 1) + E(X-1)\cdot P(1 \leq X \leq 6) + E(5) \cdot P(X>6)$$
The one problem I'm aware of is how I evaluated the expression $E(X-1)\cdot P(1 \leq X \leq 6)$. I tried to follow the example by assuming the memorylessness property of $X$ gave me $E(X-1) = E(X) = 2$, and that since $P(1 \leq X \leq 6) = e^{-.5} - e^{-3}$ the entire expression evaluates to $2(e^{-.5} - e^{-3})$. That's clearly wrong. I'd be grateful if someone could point out my mistake(s) and show me how to properly apply this technique.
Apologies in advance for the poor formatting -- double backslashes weren't working for me as line breaks in math mode!