Get your taxes done using TurboTax

the repayment must be $3000 (income amount) or more otherwise any tax benefit is denied . to take the credit if you qualify

recompute the taxes in the year you received the payment by excluding the payment (the gross pay you have repaid) 
the decrease in taxes is taken as a credit on schedule 3 line 12d denote as IRC 1341