Give a method for simulating from
$$F(x) =\left\{\matrix{ \frac{(1-e^{-2x}+2x)}{3},& 0 < x < 1\cr \frac{3-e^{-2x}}{3}, & 1 < x < ∞}\right.$$
(Work out the pdf, and try to write it as a mixture, with one of the components being an $Exp(λ)$ pdf )
Can someone help me here? What should I do after I differentiate the respective $F(x)$ and get $f(x)$.