please give fully detailed answer, thanks.
On 1 January 2020, Maggie Ltd acquired 20% of the shares in Peggy Ltd for $100,000. There were classified as a financial investment by Maggie Ltd. At 1 July 2022, these were recorded at a fair value of $80,000. The value of any dividend owed on these shares had already be deducted from the fair value. On 1 July 2022, Maggie Ltd acquired the remaining 80% of the share capital in Peggy Ltd on a cum div. basis, giving in exchange 200,000 shares in Maggie Ltd, these having a fair value at 1 July 2022 of $5.50 per share. Costs incurred in undertaking the acquisition of the 80% remaining interest amounted to $20,000. On 1 July 2022, the equity of Peggy Ltd consisted of: Share capital (400,000 shares issued at $2.50, paid to $2 each) - $800,000 General reserve - $50,000 Retained earnings - $150,000 All identiable assets and liabilities of Peggy Ltd were recorded at amounts equal to fair value, except as follows: CA FV Inventory $150,000 $160,000 Plant (cost $200,000) $160,000 $176,000 Equipment (cost $50,000) $20,000 $24,000 Land $100,000 $120,000 90% of the inventory on hand at 1 July 2022 was sold by 30 June 2023, and the remaining by 30 June 2024. The plant is expected to have a further useful life of 4 years and depreciation is calculated on a straight line basis. The equipment is expected to have a further useful life of 2 years and depreciation is calculated on a straight line basis. The land was sold in April 2024 for $125,000 and the plant is sold on 31 December 2024. . On 1 December 2022, Peggy Lid made a call of 50c per share, all call money being received by 31 December 2022. . On 30 June 2024, the directors of Peggy Lid decided to transfer $20,000 from the general reserve (pre-acquisition) to retained earnings. On 30 June 2025, Peggy Ltd paid a bonus share dividend of $100,000 from pre-acquisition profits, declared a final dividend of $70,000 out of post-acquisition profits and transferred $10,000 from retained earnings (pre-acquisition) to general reserve. The tax rate is 30%. Required: . Prepare the acquisition analysis at 1 July 2022 to determine the goodwill or gain on bargain purchase at acquisition date.At 1 July 2022, Peggy Ltd's assets and liabilities included a dividend payable of $200,000 and net goodwill of $10,000 (Initial value of $30,000 and $20,000 accumulated impairment losses). The dividend was paid on 20 October 2022. An analysis of the unrecorded intangibles of Peggy Ltd at 1 July 2022 revealed that the company had an unrecorded internally generated trademark considered to have a fair value of $60,000 and a useful life of 3 years. In the notes to its nancial statements at 30 June 2022, Peggy Ltd had reported a contingent liability relating to a potential claim by a customer suing for unsatisfactory products, the fair value of the claim at 1 July 2022 being $30,000. On 30 June 2023, the fair value of the claim dropped to $25,000. On 1 August 2023, at the conclusion of the lawsuit, Peggy Ltd was asked to pay $20,000 to settle the claim