integrate x * ( -e^(-2 x)+e^(-x) ) dx from 0 to infinity