Activate "Trust" via Manage section

Via Item 13 ,select "Trust" from the Income tab, "Add Worksheet"

Open the Trust, and scroll through the section Foreign resident capital gains withholding

It will then inject through 18X Credit for foreign resident capital gains withholding amountsfrom "Capital Gain" section.