Correct Answer - `(a) 1/2 rhoAh^(2) g`
(b) `-rhoAh^(2)g`
The positive sign of `DeltaU` means external work will be required to mix the two liquids uniformly. `DeltaU` is negative in second case which means the heavier liquid will automatically move to lower side.