IRA recharacterization capital gains

I was contributing $500 a month (from Jan 2020 to May 2020) to my Roth IRA when I realized that my MAGI would be too high to contribute to a Roth.  I recharacterized the $2500 to my traditional IRA account but with the capital gains (calculated by TD Ameritrade), it came out to $4403.51.  I contributed the remaining $3500 to the traditional IRA account to max out my contribution for 2020 which left me with a total of $7903.51.  I would like to roll this over back to my Roth IRA but what are my tax liabilities for the capital gains and how would I report that on turbo tax?