Option (1) is incorrect: It is not a dissolution by agreement.
Option (2) is correct: U/s 40 of Partnership Act, a firm may be dissolved with the consent of all the partners or in accordance with a contract between the partners.
Option (3) is incorrect: It is not a dissolution by agreement.