How to solve basic accounting problems