A Micro-macroeconomic Analysis based on a Representative Firm