Retirement tax questions

If you put the first distribution back right away it is a rollover, not a contribution.

if you didn't do that for second distribution, you can make IRA contribution(s) up to the limit you each are eligible for.