Endless loop on Form worksheet 8615 and completion of Schedule D for dependent children filing separately

I have 2 dependent children (under 18 years) that both have unearned income from the sale of stocks (both long-term & short-term). Besides reporting my own Taxable income, each requires that I report the other sibling's:

Form 8615, Line 4

Form 8615, Line 5

Net Qualified Dividends

Total Net Capital Gain

Net Capital Gain

 

I *think* I have the correct line 4&5 by going in to forms and writing down what I saw on 1 kid and reporting it on the other (saving & backing out), but the other lines are blank because I think it grabs from a completed 1040 and I can't complete a 1040 for either without inputting this information. Help! Where can I get these numbers? is this the dividends that I entered for 1099-DIV? Is total net cap gain = Div+ Int+1099-B totals?