Two ways to do this. X is buying one half of A.
1. A holds 70% of total capital (70 grand out of 100 grand). Thus, X gets 35% of the capital. 35% of a 100 grand = 35,000
2. A has 70,000 invested, Z buys half. One half of 70 grand is 35 grand
Don's ratio is 2/6 (add the ratio of 3:2:1, take his part 2, and divide by sum of ratio). 2/6 = 1/3. One third of 30,000 is 10,000. However, he also has a capital balance of 30,000. When he withdraws he gets that balance and the one third of the net income which equals 40,000.
I am guessing B. 52,000
They sell the other assets at a loss of 12,000 (148,000 - 160,000). Since Marilyn has a 2/3 ratio for profit and losses, he loses 8,000 on the deal (2/3 times 12,000). Subtract 8 grand from his capital of 60 grand, and you're left with 52,000.
The only thing worrying me is that the liabilities are not paid, but maybe Marilyn is just exiting out and Monroe will carry on with those.
B. 0
None. Z has a debit balance of 30,000. If he credits 15,000 to his account he still leaves a 15,000 debit balance (a loss which may have to be spread between X and Y).