The Legendre polynomials are the solutions to this type of ODE. For the moment, forget Legendre Polynomials.
What you must do is use the method of Frobenius to solve the given ODE. If you do it correctly, your solution should come out equal to the series expression given. Note: these solutions are series with a finite number of terms.