Retirement tax questions

You don't enter the 5498.  You only enter the 1099R.  One of the questions will ask what you did with it.  You select you rolled over part of it, even if you put it back into the same account.