Suppose this example:
If I only apply a rule of $F = (P_1-P_2)A$ then every layer of the second box must resist less force right.
But I feel must be something wrong with this reasoning, because if that's true we could build a recipient with vacuum inside made only with a thin paper. We just need to create multiple layers of papers with a small pressure gradient between them, until we reach the $0$ atm.