SSC CHSL 13 Mar 2023 Shift 1 — Question 70 (Algebra)

Easy2023
If x+1x=−2x + \frac{1}{x} = -2, then what is the value of x7+x−7+x2+x−2x^7 + x^{-7} + x^2 + x^{-2}? (x<0x < 0)