Citi interview question

My understanding of basic swaps