dmertz
Level 15

Deductions & credits

Assuming that Y was a contribution made for 2022 (not 2023), X+Y goes in the first box and just Y goes in the second box.