LLC dissolution after receiving gain
My 4-member LLC (LLC 2) received a gain and proceeds from another LLC (LLC 1). We distributed all of the cash from my LLC (LLC 2) and closed it in 2021. The gain from LLC 1 is on Schedule D of LLC 2. My questions are how to reduce that gain on LLC 2's K-1s by the capital account balances and how do I record a Section 754 election writeoff against the gain as well.
Rough numbers:
Proceeds $300,000
Gain on K-1 from LLC 1: $200,000
Capital balances of LLC 2: $30,000
Section 754 amount for LLC 2 - all to one partner: $100,000
It seems like the gains I report on K-1s would total $70,000 (200-30-100) but I can't figure out where in the files to record them.
Thanks!