Let be the complex inner product space of complex continuous functions on , with inner product

Find an orthogonal basis for the subspace of spanned by the functions

I think I have to used Gram-Schmidt method but I am not sure where to start. Can you please show me the general method and I will then be able to solve it.

Many thanks