Answer and Explanation:
1. The amount of goodwill is shown below:
= Purchase price - the market value of net assets
= $6,000,000 - ($17,000,000 + $13,000,000)
= $2,000,000
2. Now the journal entry for purchase is
Assets $17,000,000
Goodwill $2,000,000
To Liabilities $13,000,000
To Cash $6,000,000
(Being the purchase is recorded)
For recording this we debited the assets and goodwill as it increased the assets and credited the liabilities and cash as it also increased the liabilities and decreased the assets