Retirement tax questions

Does it matter if the “cannot be determined” box is checked and/or whether part of the distribution was used before the IRA was established? I know that a few years ago my ex-husband and I withdrew money from his IRA to remodel the basement and we paid no capital gains. None of the info asked on this year’s Premier included any capital gains forms.