Retirement tax questions

I did summit the form provided by the financial institute. They returned my form said the withdraw amount is wrong, because I didn't include the gain. I call them for the right amount, how to calculate the gain I need to add to the withdraw amount, they didn't give me answer, just said I need talk with tax adviser.