Why don't we say that A is the area of the cylinder, H is the height of the column of fluid without the plug, and h is the height of the plug, d is the distance from the bottom of the column to the bottom of the plug, and p is the density of the fluid. That is all of the variables that you need to determine the height of the center of mass.
First, split the fluid into a cylinder above the plug and a cylinder below the plug. Second, find the mass of each cylinder, m1 and m2, in terms of the above variables. Third, find the height of the center of each cylinder, h1 and h2, in terms of the above variables. Fourth, write the center of mass in terms of the above variables (eliminating m1, m2, h1, and h2).
If you get stuck on any of the steps let me know.