Consider a T period problem where consumers have preferences over consumption and leisure. Consumers can work in competitive firms which hires labor…