@sonpham,
The average value of a function is the integral divided by the range it's integrated over.
From your description I have a couple of problems. If the function is
f(x)=(3/2)e^-|3x| over the range from -∞ < x < ∞
Why are you integrating
f(x)=(3/2)xe^-|3x|dx where did the x come from?
second look at the absolute value
isn't |-3x|=|3x|
So isn't the integral of f(x)=(3/2)e^-|3x| over the range from -∞ < x < ∞
equal to twice the integral of f(x)=(3/2)e^-3x over the range from 0 < x < ∞
Hope that's some help.
Rap