To analyze the effect of adding a second atmospheric layer, we start by considering the energy balance in the system. The energy absorbed by the Earth's surface from solar radiation must equal the energy emitted back into space. The first layer of the atmosphere absorbs some of the infrared radiation emitted by the surface, which raises the surface temperature. The introduction of a second layer will further modify this balance