this for that; tit for tat (obsolete, but still used by older people); "you scratch my back and I'll scratch yours"; usually used in legal exchanges with attorneys each giving something to settle a case.
The "quid pro quo" in the divorce was that the wife would get the house and the husband would get the cottage on the lake.