The same goes for y and z bar. Nothing changes in parametric form, we simply compute the integral. In this case,
I would like to point out that you cannot find the C.O.M without knowing the mass or the density of the shape. But the above is how you calculate the required components. The numerators are of course Mx=0 and My=0.