Retirement tax questions

i did check with Vanguard and they said that 6000 is excess contribution for 2019 and 5.09 is the gains on it in 2020 (since i contributed for 2019 in Jan 2020). So he said the codes are right, 6k is for 2019 and 5.09 is for 2020 since it was a result of the contribution made in 2020 and the income was earned in 2020.