Understanding the Principle of Supply and Demand in Macroeconomics