If the thermodynamic operation is entire removal of walls, then extensive state variables of the composed system are the respective sums of those of the component systems. This is called the additivity of extensive variables.