a
(a)
Pressure is same at all the points of base.
i.e. Pressure at $M=$ Pressure at $N$
Also, pressure applied anywhere to the fluid is equally transmitted in all directions.
So, pressure at base $=$ pressure due to oil column of height $h+$ pressure due to water column of height $H$.
$\Rightarrow \rho_o g h+\rho_w g H \Rightarrow g\left(\rho_0 \cdot h+\rho_w H\right)$