Franking +

Can someone explain to me how to prepare a tax return with dividends and franked percentages?

I have these information: Gross dividend amount Franked % And I need to fill these out in the tax return: Total unfranked amount Total franked amount Total franking credits Total TFN amounts …