\(\frac{\left(-\frac{1}{7}\right)^n}{\left(-\frac{1}{7}\right)^{n-2}}=\left(-\frac{1}{7}\right)^{n-n+2}=\left(-\frac{1}{7}\right)^2=\frac{1}{49}\)
=> \(\left(-\frac{1}{7}\right)^{n-\left(n-2\right)}=\left(-\frac{1}{7}\right)^{n-n+2}=\left(-\frac{1}{7}\right)^2=\frac{1}{49}\)