X, Y and Z were partners in a firm. Z died on 31st May, 2022. His share of profit from the closure of the last accounting year till the date of death was to be calculated on the basis of the average of three completed years of profits before death.
Solution:-