Journalizing December 31 and July 1 ( what is debited and credited…