\[x - \frac{1}{x} = 5\]
\[\left( x - \frac{1}{x} \right)^{2} = 25\]
\[x^{2} - 2 + \frac{1}{x^{2}} = 25\]
\[x² + \frac{1}{x^{2}} = 27.\]