The event that both doors won't open is the complement of the event that at least one will open, and this event is the union of the event that door A will open and the event that door B will open, so
![P(A\cup B)=P(A)+P(B)-P(A\cap B)=0.2+0.3-0.1=0.4](https://img.qammunity.org/2023/formulas/mathematics/high-school/cxqryraxfm2uhwmxix6denqdgt0i2g0l2m.png)
so if we want both doors to be closed it is the complement of the previous probability
![1-0.4=0.6](https://img.qammunity.org/2023/formulas/mathematics/high-school/6gryt2x8jf8m0himox4f96hago2r229zn0.png)
so the probability of both doors being closed is 0.6