I moved to the USA in the middle of the tax year, how do i file a split tax year return?

I moved in June 2022, and paid taxes in the country i lived and worked in before moving. I haven't been back since, how do i split my tax year on the tax return?