Understanding Agreements in Various Legal Contexts