simplify (1-e^(-p) (p+1))/p^2 + (e^(-2 p) (e^p (p-1)+1))/p^2