Upon the dissolution of a partnership, the Partnership Act provides that the amount realized should…