The Sale of Home in a Trust

If the sale of a home for personal use was sold in a Trust and there was no gain (in fact  there was a loss) where on a 1041 Trust tax return would this be shown and if the principal from the sale was distributed to Beneficiaries, likewise, where would this be shown on the tax return?  Thanks!