Integrate[x^2*(e^x/(1 + e^x)^2), {x, 0, Infinity}]