〜かわりに
Two main uses: substitution (病気の父のかわりに, in place of my sick father) and exchange or trade-off — I'll do this, and in return you do that; cheap rent but far from the station (家賃が安いかわりに、駅から遠い). In the second use the two clauses balance a gain against a loss. Nouns connect with の.
病気の父のかわりに、私が式に出席しました。
I attended the ceremony in place of my sick father.
この部屋は家賃が安いかわりに、駅から遠い。
The rent here is cheap, but in exchange it's far from the station.
車を貸してあげるかわりに、昼ご飯をおごってね。
I'll lend you the car — in exchange, you buy me lunch.