Answer:
Revenues Dr $364,400
Income summary Cr $364,400
(Closing revenue accounts)
Income summary Dr $325,500
Expenses Cr $325,500
(Closing expense accounts)
Income summary Dr $38900
Retained earnings Cr $38900
(Transferring balance in income summary to retained earnings)
Dividends Dr $18,750
Retained earnings Cr $18,750
(Closing of dividends)