NC Non-Resident Form

We are nonresidents of NC.

We sold the NC rental, and entered our NC portion of capital gains.

We then get a question that appears to ask about SS income, that is not NC.

We previously entered "0" as NC taxable for this income that is on my federal taxes.

But the question seems to be about income adjustments (please see attached screen shot of the question.

Should the entry be a "0", or is NC trying to give me credit on income that is not NC generated or taxable?

Not sure why this specific question come up.  See attached.

The NC form section in the NC forms says NC deductions from GROSS INCOME. Can I take this deduction from my NC nonresident capital gains income? Or since my SS income is not from NC, would I then enter a 0? Not sure if NC is offering me a SS deduction to my NC capital gains income, even though the SS income is nonresident. See two screen shots attached.