I am going to copy/paste an old link to a question that I found, this is exactly what happened to me (Same book and everything), I think this is best, since there is little use writting it all over again when the link has everything I need to explain myslef. Sorry in advance if this is too sloppy.
Uniqueness of Fourier Coefficients
The thing is... Even though it is answered, I can´t seem to get the response: ''If the Fourier coefficients of f are all 0 then the integral of f multiplied by any trigonometric polynomial is 0. This follows by just taking linear combinations.''
Linear combinatios of what? Maybe its obvious, but I don´t understand... Sincerely, Thanks.