SSC CHSL 2 Aug 2023 Shift 1 — Question 56 (Algebra)

Very Easy2023
If x+1x=7x + \frac{1}{x} = 7, then the value of x2+1x2x^2 + \frac{1}{x^2} is: