the beginning and ending balances of retained earnings for the year were $30,000 and $38,000 respectively. if dividend payments during the year were $3,000, determine the net income or net loss for the year.