Integrate[((x^2 - 2) Sin[x] + 2 x Cos[x])^2/x^6, {x, -Infinity, Infinity}]