Citco Interview Question

how is carried interest calculated