By formula,
$$\begin{aligned}\Rightarrow \Big(x - \frac{1}{x}\Big)^2 = x^2 + \frac{1}{x^2} - 2 \\[1em] \Rightarrow \Big(x - \frac{1}{x}\Big)^2 = 7 - 2 \\[1em] \Rightarrow \Big(x - \frac{1}{x}\Big)^2 = 5 \\[1em] \Rightarrow x - \frac{1}{x} = \pm \sqrt{5}.\end{aligned}$$
By formula,
$\Rightarrow \Big(x - \frac{1}{x}\Big)^3 = x^3 - \frac{1}{x^3} - 3\Big(x - \frac{1}{x}\Big)$
Substituting $x - \frac{1}{x} = \sqrt{5}$ in above equation, we get :
$$\begin{aligned}\Rightarrow (\sqrt{5})^3 = x^3 - \frac{1}{x^3} - 3 \times \sqrt{5} \\[1em] \Rightarrow 5\sqrt{5} = x^3 - \frac{1}{x^3} - 3\sqrt{5} \\[1em] \Rightarrow x^3 - \frac{1}{x^3} = 8\sqrt{5}.\end{aligned}$$
Substituting $x - \frac{1}{x} = -\sqrt{5}$ in above equation, we get :
$$\begin{aligned}\Rightarrow (-\sqrt{5})^3 = x^3 - \frac{1}{x^3} - 3 \times -\sqrt{5} \\[1em] \Rightarrow -5\sqrt{5} = x^3 - \frac{1}{x^3} + 3\sqrt{5} \\[1em] \Rightarrow x^3 - \frac{1}{x^3} = -8\sqrt{5}.\end{aligned}$$
Solving given equation,
$$\begin{aligned}\Rightarrow 7x^3 + 8x - \frac{7}{x^3} - \frac{8}{x} \\[1em] \Rightarrow 7x^3 - \frac{7}{x^3} + 8x - \frac{8}{x} \\[1em] \Rightarrow 7\Big(x^3 - \frac{1}{x^3}\Big) + 8\Big(x - \frac{1}{x}\Big)\end{aligned}$$
Substituting $x^3 - \frac{1}{x^3} = 8\sqrt{5}\text{ and } x - \frac{1}{x} = \sqrt{5}$, we get :
$$\begin{aligned}\Rightarrow 7 \times 8\sqrt{5} + 8 \times \sqrt{5} \\[1em] \Rightarrow 56\sqrt{5} + 8\sqrt{5} \\[1em] \Rightarrow 64\sqrt{5}.\end{aligned}$$
Substituting $x^3 - \frac{1}{x^3} = -8\sqrt{5}\text{ and } x - \frac{1}{x} = -\sqrt{5}$, we get :
$$\begin{aligned}\Rightarrow 7 \times -8\sqrt{5} + 8 \times -\sqrt{5} \\[1em] \Rightarrow -56\sqrt{5} - 8\sqrt{5} \\[1em] \Rightarrow -64\sqrt{5}.\end{aligned}$$
Hence, 7x3 + 8x - $\frac{7}{x^3} - \frac{8}{x} = \pm 64\sqrt{5}$.