Understanding Legal Agreements: From Contracts to Debt Repayment