How can you optimize your real estate for tax purposes in 2024?