capital gains on property sold in a trust

We sold part of our property that we live on for more than we paid for it and it is currently in a trust. The buyer is leasing the property until February 2026 when they plan to purchase it. What can we do to minimize our capital gains?