I don't see how any one can help you if we can't see what you DO know, what you tried, and where you went wrong. And to see that we need to see what you have done on this problem yourself.
Do you know what a "generalized Fourier representation" IS? Do you know what makes a set of functions "orthogonal"?