The buoyant force, call it BF, is equal to the weight of the fluid displaced.
[tex]BF = \rho gV[/tex]
where V is the volume of fluid displaced.
When a body is completely immersed in a fluid, as shown in your original problem, then the difference in pressure between the top and bottom faces is given as follows,
[tex]P_0 = \mbox{ pressure on upper surface}[/tex]
[tex]P_1 = \mbox{ pressure on lower surface}[/tex]
[tex]P_0 = \rho g h_0[/tex]
[tex]P_1 = \rho g h_1[/tex]
[tex]\Delta P = \rho g \Delta h[/tex]
[tex]\mbox{where } \Delta h \mbox{ is the difference in height between the top and bottom surfaces.}[/tex]
The upward force due to this difference in pressure is,
[tex]F = \Delta P A[/tex]
[tex]F = \rho g \Delta h A[/tex]
[tex]F = \rho gV[/tex]
[tex]\mbox{since } \Delta h A \mbox{ is just the volume of displaced fluid.}[/tex]
So, the force, F, due to the difference in pressures, is equal to the buoyant force, giving
[tex]BF = \rho gV = F = \rho g \Delta h A[/tex]
=====================