Given. The self-adjoint (Sturm–Liouville) equation $(x^{-5}y')'+(9+\lambda)x^{-7}y=0$ on $1\le x\le e^2$, with $p(x)=x^{-5}$, weight $w(x)=x^{-7}$, and homogeneous boundary conditions $y(1)=0,\ y(e^2)=0$.
Find. All eigenvalues $\lambda_n$ and the corresponding eigenfunctions $y_n(x)$.
Approach. Multiply through by $x^7$ to collapse the SL form into a Cauchy–Euler equation, solve its characteristic equation, discard the cases that cannot satisfy two homogeneous end conditions, then apply the boundary conditions to the surviving oscillatory family.
Reduce to Cauchy–Euler form. Expanding the derivative, $(x^{-5}y')'=x^{-5}y''-5x^{-6}y'$, so the equation reads
$$x^{-5}y''-5x^{-6}y'+(9+\lambda)x^{-7}y=0$$
Multiplying every term by $x^{7}$ clears the negative powers:
$$\boxed{x^{2}y''-5xy'+(9+\lambda)y=0}$$
a linear Cauchy–Euler (equidimensional) equation.
Solve the characteristic equation. Trying $y=x^{m}$ gives $m(m-1)x^m-5mx^m+(9+\lambda)x^m=0$, so
$$m^{2}-6m+(9+\lambda)=0\ \Rightarrow\ m=3\pm\sqrt{9-(9+\lambda)}=3\pm\sqrt{-\lambda}$$
For $\lambda\le0$, $m$ is real and $y=C_1x^{m_1}+C_2x^{m_2}$ is monotone-type; enforcing $y(1)=0$ and $y(e^2)=0$ on such a solution forces $C_1=C_2=0$ (only the trivial solution), so no non-positive $\lambda$ is an eigenvalue — the eigenvalues must be positive.
Positive $\lambda$: oscillatory solution. Write $\lambda=\mu^2$ ($\mu\gt0$), so $m=3\pm i\mu$ and
$$y(x)=x^{3}\big[C_1\cos(\mu\ln x)+C_2\sin(\mu\ln x)\big]$$
Apply $y(1)=0$. Since $\ln 1=0$, $y(1)=1^3[C_1\cos0+C_2\sin0]=C_1=0$.
Apply $y(e^2)=0$. With $C_1=0$ and $\ln(e^2)=2$,
$$y(e^2)=e^{6}\,C_2\sin(2\mu)=0$$
For a non-trivial eigenfunction $C_2\ne0$, so $\sin(2\mu)=0\Rightarrow 2\mu=n\pi,\ n=1,2,3,\dots$
Assemble the eigenpairs. $\mu_n=n\pi/2$, hence
$$\boxed{\lambda_n=\dfrac{n^2\pi^2}{4},\qquad y_n(x)=x^{3}\sin\!\Big(\dfrac{n\pi}{2}\ln x\Big),\qquad n=1,2,3,\dots}$$
The first three numerical eigenvalues are $\lambda_1=\pi^2/4\approx2.467401$, $\lambda_2=\pi^2\approx9.869604$, $\lambda_3=9\pi^2/4\approx22.206610$.