Retirement tax questions

If i had a carryover foreign tax of 10000 in 2023 tax year

my foreign tax in 2024CY is 3000

my gross adj income is 200,000 and my tax liability is $40,000

 

how do i use my carryover foreign tax?