The differential equation $x^2 y'' + xy' - y = 0$ is a Cauchy-Euler equation. The standard method to solve Cauchy-Euler equations is to assume a solution of the form $y=x^m$. This leads to the characteristic equation $m(m-1) + m - 1 = 0$, which simplifies to $m^2 - 1 = 0$. The roots are $m=1$ and $m=-1$. The general solution is $y = c_1 x^1 + c_2 x^{-1}$. Given $y=x$ is a solution, the second linearly independent solution is $x^{-1} = \frac{1}{x}$.