Zoho interview question

Based on Zoho books and basic accounting principles