First configuration
Two dielectrics fill half the thickness each, so they are in series.
Each slab has thickness
2d
and full area AAA.
Capacitances:
Ca=d/2ε1A
=d2ε1A
Cb=d/2ε2A=d2ε2A
Series combination:
C11=Ca1+Cb1C11=2Ad(ε11+ε21)
Thus
C1=d(ε1+ε2)2Aε1ε2
Second configuration
Each dielectric occupies half area
2A
and full thickness ddd, so they are in parallel.
Capacitances:
C1′=dε1(A/2)
C2′=dε2(A/2)
Hence
C2=C1′+C2′C2=2dA(ε1+ε2)
Now ratio:
C2C1=2dA(ε1+ε2)d(ε1+ε2)2Aε1ε2
Simplifying,
C2C1=(ε1+ε2)24ε1ε2
So correct answer is
(ε1+ε2)24ε1ε2