Recall that the functions
are an orthogonal basis for square integrable functions, i.e.
How can we use this orthogonality to get the coefficients in the series?