Answer and Explanation:
The preparation of the retained earnings statement is presented below:
Beginning retained earnings balance $17,000
Add: Net income $10,400
less: Dividend -$6,700
Ending retained earnings balance $20,700
We simply added the net income and deduct the dividend from the opening retained earnings balance