Integrate[2 x^2/λ^2 Exp[-x^2/λ^2], {x, 0, Infinity}, Assumptions -> λ > 0]