How does Turbotax calculate line 2g of Form 4797 using the K-1 Schedule?

Turbotax does not explain how it uses the K-1 Schedule to create the number for line 2g of Form 4797. I am being audited and the auditor asks me to explain the Turbotax result.