rental property that was a settlement in a divorce and I had to give it to her and buy her out?

What do I put on my tax return for this year, if I gave it to her end of 2023?