Citco interview question

how is carried interest calculated