Can't figure this out to save my life. Please help if possible

Consider the discrete cosine and sine transforms of a real sequence of numbers

Find an efficient procedure to compute using a Fast Fourier Transform of .

Can someone give me a hint/explain to me the way to go about doing this problem? I am completely lost. Thanks!