L, M, and N were partners in a firm sharing profits in 3:2:1 ratio. The firm closes its books on 31st March every year. M died on 12.06.2024. On M’s death the Goodwill of the firm was valued at ₹1,80,000. On M’s death his share in the profits till the time of his death was to be calculated on the basis of previous year’s profit which was ₹3,00,000. Calculate M’s share in the profit of the firm. Pass necessary journal entries for the treatment of Goodwill and M’s share of profit at the time of his death.